After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163285 - http-protocol in gnome-vfs2 v2.8.3 causes crashes on 64-bit machines
http-protocol in gnome-vfs2 v2.8.3 causes crashes on 64-bit machines
Status: RESOLVED DUPLICATE of bug 160052
Product: gnome-vfs
Classification: Deprecated
Component: Module: http
2.7.x
Other other
: Normal critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-07 22:34 UTC by David Mosberger
Modified: 2005-01-07 22:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description David Mosberger 2005-01-07 22:34:48 UTC
Distribution: Debian 3.1
Package: gnome-vfs
Severity: critical
Version: GNOME2.8.1 2.7.x
Gnome-Distributor: Debian
Synopsis: http-protocol in gnome-vfs2 v2.8.3 causes crashes on 64-bit machines
Bugzilla-Product: gnome-vfs
Bugzilla-Component: Module: http
Bugzilla-Version: 2.7.x
Description:
Description of Problem:

See also this Debian bug-report (includes patch):

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285726

Steps to reproduce the problem:
1. invoke "bug-buddy" on a 64-bit machine (e.g., ia64 Linux)

Actual Results:

Bug-buddy crashes immediately with a SIGSEGV because libhttp.so has a
pointer-truncation problem due to stpncpy() being implicitly declared to
return a 32-bit "int", rather than a 64-bit "char *".

Expected Results:

Bug-buddy shouldn't crash.

How often does this happen?

Every time.

Additional Information:

The fix is simple: ensure that pre-processor-symbol _GNU_SOURCE is
defined when imported/neon/ne_{string,session}.c get compiled.  In the
proposed Debian patch, I defined the symbols simply at the beginning of
those files, but it may be better to do this via configure magic (i.e.,
check if you're using GNU libc and, if so, add -D_GNU_SOURCE to the CPP
defines).




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-01-07 17:34 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-vfs".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 David Mosberger 2005-01-07 22:40:58 UTC

*** This bug has been marked as a duplicate of 160052 ***