bugGNU Wget - Bugs: bug #20420, segfault on amd64/x86_64

 
 

bug #20420: segfault on amd64/x86_64

Submitted by:  Noël Köthe <nok>
Submitted on:  Mon 09 Jul 2007 09:39:51 PM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 4 - Important
Priority: 5 - NormalStatus: Fixed In Repository
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.10.2Operating System: GNU/Linux
Reproducibility: Every TimeFixed Release: 1.11
Planned Release: 1.11Regression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 20 Jul 2007 06:42:35 AM UTC, comment #1:

Problem does not appear in trunk vesion, though I could produce the problem easily with 1.10.2. Current trunk version complains that there's a "syntax error" with the Set-Cookies header (though it doesn't complain about the missing content from the Expires and Pragma headers).

See bug 20450: "More malicious/faulty server tests needed".

Micah Cowan <micahcowan>
Mon 09 Jul 2007 09:39:51 PM UTC, original submission:

Hello,

I can reproduce this bugreport from http://bugs.debian.org/412586

"$ LANGUAGE=C gdb --args wget http://appdb.winehq.org/appimage.php?iId=3029 http://appdb.winehq.org/appimage.php?iId=3532
[...]
[ <=> ] 167,779 32.31K/s

22:55:24 (32.16 KB/s) - `appimage.php?iId=3029' saved [167779]

--22:55:24-- http://appdb.winehq.org/appimage.php?iId=3532
=> `appimage.php?iId=3532'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47967383637232 (LWP 12496)]
0x000000000040891e in cookie_header (jar=0x5531d0, host=0x553150 "appdb.winehq.org", port=80, path=0x7fff64822d70 "/appimage.php", secflag=0)
at cookies.c:1226
1226 result_size += strlen (c->attr) + 1 + strlen (c->value);
(gdb) bt
#0 0x000000000040891e in cookie_header (jar=0x5531d0, host=0x553150 "appdb.winehq.org", port=80, path=0x7fff64822d70 "/appimage.php", secflag=0)
at cookies.c:1226
#1 0x0000000000419972 in gethttp (u=0x5530c0, hs=0x7fff648234c0, dt=0x7fff648237cc, proxy=0x0) at http.c:1352
#2 0x000000000041beed in http_loop (u=0x5530c0, newloc=0x7fff64823620, local_file=0x7fff64823610, referer=0x0, dt=0x7fff648237cc, proxy=0x0) at http.c:2190
#3 0x00000000004283d6 in retrieve_url (origurl=0x553040 "http://appdb.winehq.org/appimage.php?iId=3532", file=0x7fff648237d8, newloc=0x7fff648237d0,
refurl=0x0, dt=0x7fff648237cc) at retr.c:667
#4 0x0000000000422d97 in main (argc=3, argv=0x7fff64823938) at main.c:943
(gdb) p c->attr
$1 = 0x0
(gdb) p c->value
$2 = 0x0

"

thx

-unavailable-

Noël Köthe <nok>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Updated the item)
  • -unavailable- added by nok (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Jul 2007 06:42:35 AM UTCmicahcowanStatusNone=>Fixed In Repository
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.11
      Planned ReleaseNone=>1.11
    Wed 11 Jul 2007 07:25:19 AM UTCmicahcowanPlanned Release1.11=>None
    Mon 09 Jul 2007 10:08:37 PM UTCmicahcowanCategoryUser Interface=>Crash/Freeze/Infloop
      Severity3 - Normal=>4 - Important
      Planned ReleaseNone=>1.11

    Back to the top


    Powered by Savane 3.1-cleanup1