commit | 34faca03b646a40f5a844e9456eadc6f3412f8a3 | [log] [tgz] |
---|---|---|
author | Richard Palethorpe <rpalethorpe@suse.com> | Thu Jan 12 15:51:01 2017 +0100 |
committer | Cyril Hrubis <chrubis@suse.cz> | Mon Jan 16 12:19:53 2017 +0100 |
tree | f1ce5f1ef53a193ef50f5e7284f0fee8624f1129 | |
parent | b66843362eaab8c56a6b139717b9f2e9fa0ee27f [diff] |
posix/munmap: Use mmap to obtain valid and safe address range Avoid accidentally un-mapping memory used internally by malloc by creating a new mapping and then un-mapping it twice. Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>