diff options
| author | millert <> | 2014-12-03 18:25:18 +0000 |
|---|---|---|
| committer | millert <> | 2014-12-03 18:25:18 +0000 |
| commit | 449e625bd0d8eb04d234c487c99d7a78724d2540 (patch) | |
| tree | 9e85370d2225ba4d58edab3261e3ff576519ac0f /src/lib/libc/stdlib/getenv.c | |
| parent | 52b1c6a2d123fb1a30f7a7323fb53bd7e121d2c1 (diff) | |
| download | openbsd-449e625bd0d8eb04d234c487c99d7a78724d2540.tar.gz openbsd-449e625bd0d8eb04d234c487c99d7a78724d2540.tar.bz2 openbsd-449e625bd0d8eb04d234c487c99d7a78724d2540.zip | |
Fill the buffer with 'z' instead of 'a' since 'a' is part of the
string we are testing.
Add tests to verify that we get SIGSEGV when passed a NULL src or dst.
It is better to crash than for an implementation to check for NULL
and try to recover.
Diffstat (limited to 'src/lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions
