diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-31 14:42:08 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-31 14:42:08 -0400 |
commit | 339516addbde87760f3c0f175a4abcf5d629df54 (patch) | |
tree | d367924554efd34bb36581dc047d53190a14a358 /src/locale/strcasecmp_l.c | |
parent | c4f49a6a726fcd07bb15198ac4556100320934a9 (diff) | |
download | musl-339516addbde87760f3c0f175a4abcf5d629df54.tar.gz musl-339516addbde87760f3c0f175a4abcf5d629df54.tar.xz musl-339516addbde87760f3c0f175a4abcf5d629df54.zip |
add some sanity checks in dynamic loader code
reject elf files which are not ET_EXEC/ET_DYN type as bad exec format, and reject ET_EXEC files when they cannot be loaded at the correct address, since they are not relocatable at runtime. the main practical benefit of this is to make dlopen of the main program fail rather than producing an unsafe-to-use handle.
Diffstat (limited to 'src/locale/strcasecmp_l.c')
0 files changed, 0 insertions, 0 deletions