bug-make
[Top][All Lists]
Advanced

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

[bug #36451] [PATCH] Do not allocate buffer on stack when constructing t


From: anonymous
Subject: [bug #36451] [PATCH] Do not allocate buffer on stack when constructing the command argv
Date: Fri, 11 May 2012 12:35:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120426 Firefox/12.0

URL:
  <http://savannah.gnu.org/bugs/?36451>

                 Summary: [PATCH] Do not allocate buffer on stack when
constructing the command argv
                 Project: make
            Submitted by: None
            Submitted on: Fri 11 May 2012 12:35:47 PM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

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().





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 11 May 2012 12:35:47 PM UTC  Name: use-malloc.patch  Size: 1kB   By:
None
patch that fixes the issue
<http://savannah.gnu.org/bugs/download.php?file_id=25834>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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