summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorsunil <sunil@openbsd.org>2016-09-01 10:01:53 +0000
committersunil <sunil@openbsd.org>2016-09-01 10:01:53 +0000
commit7454da10df7867f371c4c763d1fe0dc3b33e375d (patch)
treeabe9e72f74696757573be7025c9e64f647cf2b2c /sys/dev/i2c/files.i2c
parentremove sparc support (diff)
downloadwireguard-openbsd-7454da10df7867f371c4c763d1fe0dc3b33e375d.tar.xz
wireguard-openbsd-7454da10df7867f371c4c763d1fe0dc3b33e375d.zip
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check. From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
Diffstat (limited to 'sys/dev/i2c/files.i2c')
0 files changed, 0 insertions, 0 deletions