gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #35635] jemalloc.c uses faulty memory management


From: anonymous
Subject: [Gnash-commit] [bug #35635] jemalloc.c uses faulty memory management
Date: Mon, 27 Feb 2012 08:38:03 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

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

                 Summary: jemalloc.c uses faulty memory management
                 Project: Gnash - The GNU Flash player
            Submitted by: None
            Submitted on: Mon 27 Feb 2012 08:38:02 AM UTC
                Category: None
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

jemalloc.c as of 0.8.10 and current master (27th March 2012) tries unter Linux
to mmap anonymous memory until it is granted the address it hinted by mmap's
addr parameter. That behaviour is not correct since mmap is not guaranteed to
follow that hint and some kernels like PaX-hardened ones never return the
hinted address resulting in an endless mmap/munmap loop. cf.
https://bugs.gentoo.org/show_bug.cgi?id=396275
for a similar problem under firefox.
A patch to remedy the situation is attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 27 Feb 2012 08:38:02 AM UTC  Name: gnash-aslr-fix.patch  Size: 2kB  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=25188>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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