diff options
author | imp <imp@FreeBSD.org> | 2015-03-01 21:41:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-03-01 21:41:37 +0000 |
commit | 58c94606707d60fc809e545dc78735fdbc57b06a (patch) | |
tree | 7f9381c096dc27b88b91bc696dcc4303fbfbc163 /usr.bin/printf | |
parent | 9baadf23b3c5bd9a8c6df43581f747cb9449fa1b (diff) | |
download | FreeBSD-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