[Top][All Lists]

[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


                 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



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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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