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

 
 

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

Submitted by:  None
Submitted on:  Fri 03 Feb 2012 11:06:09 AM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Lőrinczy ZsigmondOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.13.4
Operating System: NoneReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: Yes

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by lzsiga (Updated the item)
  • -unavailable- added by gscrivano (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Feb 2012 11:33:57 AM UTClzsigaAttached File-=>Added main.c.patch, #25128

    Back to the top


    Powered by Savane 3.1-cleanup