summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-08-09 09:44:21 +0000
committermiod <miod@openbsd.org>2009-08-09 09:44:21 +0000
commit3b49aa800e49bf63650c1710b97429d05a86a5b2 (patch)
treeed441761a098cf3f5d137094a01d48f1cd356103 /sys/dev/pci/if_em.c
parentDon't leak in the (rare) case of an invalid command at the end of a file not (diff)
downloadwireguard-openbsd-3b49aa800e49bf63650c1710b97429d05a86a5b2.tar.xz
wireguard-openbsd-3b49aa800e49bf63650c1710b97429d05a86a5b2.zip
Do not access s[strlen(s) - 1] without checking first that s is not an
empty string.
Diffstat (limited to 'sys/dev/pci/if_em.c')
0 files changed, 0 insertions, 0 deletions