[eglib] In AIX/generic POSIX, handle null addresses better (mono/mono#17892)
authorCalvin Buckley <calvin@cmpct.info>
Mon, 25 Nov 2019 07:52:54 +0000 (03:52 -0400)
committerRyan Lucia <rylucia@microsoft.com>
Mon, 25 Nov 2019 07:52:54 +0000 (02:52 -0500)
commit9c8f2caba776363e1fdc272ef53a9f1596bab6c3
treeb7dd5578632590c092a60520b830c63230cee887
parenta1ef30c676bc03579eff20014e296521de74250b
[eglib] In AIX/generic POSIX, handle null addresses better (mono/mono#17892)

Fixes crash in tests on AIX.

Matches mono/mono@b0d966bd7ab887f075f6ce3d1c9858af6b52f30f

Commit migrated from https://github.com/mono/mono/commit/004fd06b967e0d2fd0e28bc516e8e33fe8a75a21
src/mono/mono/eglib/gmodule-aix.c
src/mono/mono/eglib/gmodule-unix.c