diff options
author | andreast <andreast@FreeBSD.org> | 2010-11-20 19:23:16 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2010-11-20 19:23:16 +0000 |
commit | 70881bc10bbea544ba7d7d89723de0868bd07916 (patch) | |
tree | 77429ad65e368ec26edb9e46ec43c0a7c2900250 /libexec/rtld-elf/map_object.c | |
parent | f26669fe8c87c89c0c034cdab761ab409061c9ae (diff) | |
download | FreeBSD-src-70881bc10bbea544ba7d7d89723de0868bd07916.zip FreeBSD-src-70881bc10bbea544ba7d7d89723de0868bd07916.tar.gz |
Check the OF_getprop() return value before proceeding. Allocate only as
much space as needed for the mode buffer. Use strcmp, relying on OF giving
back NULL terminated strings.
Submitted by: marius
Approved by: nwhitehorn (mentor)
Diffstat (limited to 'libexec/rtld-elf/map_object.c')
0 files changed, 0 insertions, 0 deletions