libdl: fix problem with unmapping
commit35105679b9a900d58dadd0852e679c235f8176ba
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 17 Apr 2018 19:19:06 +0000 (17 20:19 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 17 Apr 2018 19:19:06 +0000 (17 20:19 +0100)
treeefdb327c0a09565412ddadb7e3e102080179dc43
parenteb560ac797e67c116f56c7f921dece3057ec81de
libdl: fix problem with unmapping

The munmap was still called with broken length, as sometimes
start was empty. This finally solves segfaults when running
php -m with ldap module activated.
ldso/libdl/libdl.c