summaryrefslogtreecommitdiff
path: root/usr.sbin/user/group.8
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-05-03 21:16:00 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-05-03 21:16:00 +0000
commitd37f2427d4a9338f2febbf138ca1cc22ddc08dfe (patch)
tree9d583fc24cc743268001e34f7da27f0c972813f7 /usr.sbin/user/group.8
parent59792c48bd052fc79212f935272c7bdebfaed9d8 (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/user/group.8')
0 files changed, 0 insertions, 0 deletions