diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-05-03 21:16:00 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-05-03 21:16:00 +0000 |
commit | d37f2427d4a9338f2febbf138ca1cc22ddc08dfe (patch) | |
tree | 9d583fc24cc743268001e34f7da27f0c972813f7 /usr.sbin/tcpdump/print-802_11.c | |
parent | 59792c48bd052fc79212f935272c7bdebfaed9d8 (diff) |
len = strlen(foo); if foo[len - 1]... will do bad things if len == 0.
Avoid, and rearrange a test so it can't (hypothetically) overflow.
Diffstat (limited to 'usr.sbin/tcpdump/print-802_11.c')
0 files changed, 0 insertions, 0 deletions