bugGNU Wget - Bugs: bug #35442, 'wget -v' coredumps -- platform:...

 
 

bug #35442: 'wget -v' coredumps -- platform: AIX 5.x, 6.x

Submitter:  None
Submitted:  Fri 03 Feb 2012 11:06:09 AM UTC
   
 
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Lőrinczy Zsigmond Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.13.4
Operating System:  None Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  Yes
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 Feb 2012 11:35:52 AM UTC, comment #3: 

Sorry I forgot: Version 1.13.4

Lőrinczy Zsigmond <lzsiga>
Thu 23 Feb 2012 11:33:57 AM UTC, comment #2: 

It's simply checking for longindex==-1 after getlongopt



(file #25128)

Lőrinczy Zsigmond <lzsiga>
Thu 23 Feb 2012 10:04:18 AM UTC, comment #1: 

I am not able to reproduce the problem as I haven't access to an AIX system.  Can you please send a patch?  What version of wget have you used?

Giuseppe Scrivano <gscrivano>
Group administrator
Fri 03 Feb 2012 11:06:09 AM UTC, original submission:  

The problem arises in src/main.c:main (lines 954-974) when the program checks for --config option, but doesn't check whether or not longindex is equal to -1.

Fix:
957a958,959

>      
>       if (longindex==-1) continue;


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #25128:  main.c.patch added by lzsiga (562B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lzsiga (Updated the item)
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-23 lzsiga Attached File- Added main.c.patch, #25128

    Back to the top

    Powered by Savane 3.13-269c.
    Corresponding source code