bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #44884] wget crash with empty --header


From: Elan Ruusamäe
Subject: [Bug-wget] [bug #44884] wget crash with empty --header
Date: Mon, 20 Apr 2015 18:32:23 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) PLD/Th Chromium/41.0.2272.101 Chrome/41.0.2272.101 Safari/537.36

Follow-up Comment #3, bug #44884 (project wget):

oh, it looks fixed already upstream. this patch seems fixed it:

+commit ac40b84ee138d45379046e21e31d237f6937a014
+Author: Hubert Tarasiuk <address@hidden>
+Date:   Fri Apr 10 11:52:34 2015 +0200
+
+    Fix error in free_vec.
+    
+    * src/utils.c (free_vec): Increment pointer instead of its value.
+    
+    Reported-by: Gisle Vanem <address@hidden>

http://git.pld-linux.org/?p=packages/wget.git;a=commitdiff;h=f813fc4fd0d14eb559ab6467b2e8a4a4ef9ea519

with above patch applied:

$ wget --header 'Content-Type:text/plain;charset=UTF-8' --header ''
https://google.com
--2015-04-20 21:31:48--  https://google.com/
Resolving google.com (google.com)... 2a00:1450:401b:800::200e, 216.58.209.78
Connecting to google.com (google.com)|2a00:1450:401b:800::200e|:443...
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.google.com/ [following]
--2015-04-20 21:31:48--  https://www.google.com/
Resolving www.google.com (www.google.com)... 2a00:1450:401b:800::2004,
216.58.209.36
Connecting to www.google.com (www.google.com)|2a00:1450:401b:800::2004|:443...
connected.
HTTP request sent, awaiting response... 200 OK


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44884>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]