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 Feb 3 11:06:09 2012  
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 Feb 23 11:35:52 2012, comment #3:

Sorry I forgot: Version 1.13.4

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

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

(file #25128)

Lőrinczy Zsigmond <lzsiga>
Thu Feb 23 10:04:18 2012, 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 Feb 3 11:06:09 2012, 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.


> if (longindex==-1) continue;



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

Attach File(s):

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 Feb 23 11:33:57 2012lzsigaAttached File-=>Added main.c.patch, #25128

    Back to the top

    Powered by Savane 3.1-cleanup1