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

 
 

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

Submitted by:  None
Submitted on:  Fri 11 May 2012 12:35:47 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

Fixed. Thanks.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by psmith (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Sep 2012 11:25:27 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0
    Fri 11 May 2012 12:35:47 PM UTCNoneAttached File-=>Added use-malloc.patch, #25834

    Back to the top


    Powered by Savane 3.1-cleanup1