diff options
| author | Ori Bernstein <ori@eigenstate.org> | 2020-12-18 07:16:29 -0800 |
|---|---|---|
| committer | Ori Bernstein <ori@eigenstate.org> | 2020-12-18 07:16:29 -0800 |
| commit | 2db3642b8d3b871c6f9d1f4e3204b2f44fc4b79f (patch) | |
| tree | 70d9f6b0bf5ef59abcc9fe8adca25d94b7ae887b /rc/bin | |
| parent | f09788364452d6921d555587196f5453e1259257 (diff) | |
| download | plan9front-2db3642b8d3b871c6f9d1f4e3204b2f44fc4b79f.tar.xz | |
strndup: don't assume buffer is terminated
Using strlen in strndup will walk past the first
n bytes up to the terminator, which may not be
present. This is not what we want.
While we're here, do some cleanups.
Diffstat (limited to 'rc/bin')
0 files changed, 0 insertions, 0 deletions
