diff options
| author | 2016-09-01 10:01:53 +0000 | |
|---|---|---|
| committer | 2016-09-01 10:01:53 +0000 | |
| commit | 7454da10df7867f371c4c763d1fe0dc3b33e375d (patch) | |
| tree | abe9e72f74696757573be7025c9e64f647cf2b2c /sys/dev/i2c/files.i2c | |
| parent | remove sparc support (diff) | |
| download | wireguard-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
