summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMark Lumsden <lum@cvs.openbsd.org>2016-09-07 11:42:02 +0000
committerMark Lumsden <lum@cvs.openbsd.org>2016-09-07 11:42:02 +0000
commitaae100a2185c84b6049797c412df50491cc02679 (patch)
treeb416b533bec14fa06e57a2d05b65f2dcc3b89cd0 /usr.sbin
parent667d16845c0a8ac9bde37ecbba8df053763b258b (diff)
Source Joachim Nilsson:
Found by Coverity Scan. The popbuf() function iterated over a list to find a wp pointer, then sent it to showbuffer() which immediately went ahead and dereferenced it. This patch simply adds a NULL pointer check before calling showbuffer(), if NULL then just return NULL to callee. ok awolk@ millert@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions