diff options
author | miod <> | 2011-07-24 21:03:00 +0000 |
---|---|---|
committer | miod <> | 2011-07-24 21:03:00 +0000 |
commit | a59b9ec989d0a105157ba611d9037c58cb91fbc5 (patch) | |
tree | c214319dae05ec7c52132c482c567999cf933e10 /src/lib/libc/stdlib/lsearch.c | |
parent | b8553d8828f4c0b0f3406ce3f27468268ad0b870 (diff) | |
download | openbsd-a59b9ec989d0a105157ba611d9037c58cb91fbc5.tar.gz openbsd-a59b9ec989d0a105157ba611d9037c58cb91fbc5.tar.bz2 openbsd-a59b9ec989d0a105157ba611d9037c58cb91fbc5.zip |
Recent Single Unix will malloc memory if the second argument of realpath()
is NULL, and third-party software is starting to rely upon this.
Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor
tweaks from nicm@ and yours truly.
Diffstat (limited to 'src/lib/libc/stdlib/lsearch.c')
0 files changed, 0 insertions, 0 deletions