bugmake - Bugs: bug #36451, [PATCH] Do not allocate buffer on...

 
 

bug #36451: [PATCH] Do not allocate buffer on stack when constructing the command argv

Submitter:  None
Submitted:  Fri 11 May 2012 12:35:47 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  None Operating System:  None
Fixed Release:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 09 Sep 2012 11:25:27 PM UTC, comment #1: 

Fixed.  Thanks.

Paul D. Smith <psmith>
Group administrator
Fri 11 May 2012 12:35:47 PM UTC, original submission:  

The stack will overflow when building webkit on uclibc due to the command line buffer gets over 250k.

So instead of using alloca(), use (x)malloc().


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #25834:  use-malloc.patch added by None (1KiB - text/x-c - patch that fixes the issue)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-09 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2012-05-11 None Attached File- Added use-malloc.patch, #25834

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code