summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-03-01 21:41:37 +0000
committerimp <imp@FreeBSD.org>2015-03-01 21:41:37 +0000
commit58c94606707d60fc809e545dc78735fdbc57b06a (patch)
tree7f9381c096dc27b88b91bc696dcc4303fbfbc163 /usr.bin/printf
parent9baadf23b3c5bd9a8c6df43581f747cb9449fa1b (diff)
downloadFreeBSD-src-58c94606707d60fc809e545dc78735fdbc57b06a.zip
FreeBSD-src-58c94606707d60fc809e545dc78735fdbc57b06a.tar.gz
nandfs_meta_bread() calls bread() which can set bp to NULL in some
error cases. Calling brelse() with a NULL pointer is not allowed, so only call brelse() when the bp is non-NULL. Reported by: Maxime Villard (reported as uninitialized variable)
Diffstat (limited to 'usr.bin/printf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud