diff options
author | beck <> | 2014-04-20 23:30:12 +0000 |
---|---|---|
committer | beck <> | 2014-04-20 23:30:12 +0000 |
commit | 72fecb100e62bfefd9ab2896db696ee6dee6d889 (patch) | |
tree | fe5d877da3343761189de81dac659353acf6cbfd /src/lib/libc/stdlib/getenv.3 | |
parent | 27f49c1a7508baad456a0489c04d91b7804693e8 (diff) | |
download | openbsd-72fecb100e62bfefd9ab2896db696ee6dee6d889.tar.gz openbsd-72fecb100e62bfefd9ab2896db696ee6dee6d889.tar.bz2 openbsd-72fecb100e62bfefd9ab2896db696ee6dee6d889.zip |
ASN1_STRING cleanup - realloc has handled NULL since I had a mullet
and parachute pants - and since it's obvious there is no guarantee
the caller doesn't pass in the data area in the argument, use memmove
instead of memcpy so overlapping areas are handled correctly.
Also, pointers can be usefully printed in hex with %p, in error messaeges
rather than the bizzaro stuff that was there using mystical buffer lengths
and abuse of strlcpy-converted-blindly-from-strcpy
Diffstat (limited to 'src/lib/libc/stdlib/getenv.3')
0 files changed, 0 insertions, 0 deletions