This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/218] SIGSEGV in sunrpc/pmap_prot2.c


------- Additional Comments From kimdon at esrf dot fr  2004-06-14 12:08 -------
Created an attachment (id=112)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=112&action=view)
tarball containing demonstration of the problem

Demonstration of the bug and the fix:

% make
cc -Wall -g   -c -o bug.o bug.c
cc -Wall -g -c pmap_prot2.c
cc bug.o pmap_prot2.o -o bug
patch < pmap_prot2.c.patch
patching file pmap_prot2.c
cc -Wall -g -c pmap_prot2.c
cc bug.o pmap_prot2.o -o nobug
patch -R < pmap_prot2.c.patch
patching file pmap_prot2.c
./bug localhost
make: *** [showbug] Segmentation fault
./nobug localhost
%

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=218

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]