Description of problem:
curl crashes with segm
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. curl -s --limit-rate 4m http://example.com/somebigfile
*** Error in `curl': free(): invalid pointer: 0x0000000001ea8270 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00425000 r-xp 00000000 fd:01 202452587 /usr/bin/curl
00624000-00625000 r--p 00024000 fd:01 202452587 /usr/bin/curl
00625000-00626000 rw-p 00025000 fd:01 202452587 /usr/bin/curl
01e9c000-01ee0000 rw-p 00000000 00:00 0 [heap]
7fe0e0000000-7fe0e0021000 rw-p 00000000 00:00 0
7fe0e0021000-7fe0e4000000 ---p 00000000 00:00 0
rate limited download.
Testing prior releases indicates it is the -47 to -48 patches that introduced the regression.
Thank you for analyzing the issue! It seems to be caused by:
The following upstream commit triggers it:
... and the following upstream commit fixes it:
I need to review all the commits from upstream pull request #1449:
... as they seem to be tightly dependent on each other.
I have backported additional 11 upstream commits to make the code consistent again:
*** Bug 1702828 has been marked as a duplicate of this bug. ***
*** Bug 1710180 has been marked as a duplicate of this bug. ***
*** Bug 1724292 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.