This commit is contained in:
parent
6a4d9468c4
commit
b8fed45327
@ -1,3 +1,24 @@
|
||||
--- net.c
|
||||
+++ net.c
|
||||
@@ -1281,13 +1281,15 @@ struct tcb *tcp;
|
||||
} else if (!tcp->u_arg[2])
|
||||
tprintf("%#lx, NULL", tcp->u_arg[1]);
|
||||
else {
|
||||
- if (tcp->u_arg[1] == 0 || syserror(tcp)) {
|
||||
+ int len;
|
||||
+ if (tcp->u_arg[1] == 0 || syserror(tcp)
|
||||
+ || umove (tcp, tcp->u_arg[2], &len) < 0) {
|
||||
tprintf("%#lx", tcp->u_arg[1]);
|
||||
} else {
|
||||
- printsock(tcp, tcp->u_arg[1], tcp->u_arg[2]);
|
||||
+ printsock(tcp, tcp->u_arg[1], len);
|
||||
}
|
||||
tprintf(", ");
|
||||
- printnum(tcp, tcp->u_arg[2], "%lu");
|
||||
+ printnum_int(tcp, tcp->u_arg[2], "%u");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
--- process.c
|
||||
+++ process.c
|
||||
@@ -765,12 +765,13 @@ setarg(tcp, argnum)
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 14:43:14 CET 2009 - schwab@suse.de
|
||||
|
||||
- Fix decoding of accept(2).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package strace (Version 4.5.18)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -28,7 +28,7 @@ Obsoletes: strace-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 4.5.18
|
||||
Release: 9
|
||||
Release: 10
|
||||
Summary: A utility to trace the system calls of a program
|
||||
Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.bz2
|
||||
Patch: strace-%{version}.diff
|
||||
@ -76,6 +76,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_mandir}/man1/strace.1.gz
|
||||
|
||||
%changelog
|
||||
* Wed Jan 07 2009 schwab@suse.de
|
||||
- Fix decoding of accept(2).
|
||||
* Wed Dec 10 2008 olh@suse.de
|
||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||
(bnc#437293)
|
||||
|
Loading…
x
Reference in New Issue
Block a user