aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs_msdos/mkfs_msdos.c
diff options
context:
space:
mode:
authorLutz Donnerhacke <donner@FreeBSD.org>2021-05-09 12:56:40 +0000
committerLutz Donnerhacke <donner@FreeBSD.org>2021-05-09 12:56:40 +0000
commit552885bde60021ed6f1db46a95f9fb2557cbe1b6 (patch)
tree1d1e5c7eb3d82887118c9e036d2fd49cd3ed9b6a /sbin/newfs_msdos/mkfs_msdos.c
parentc5c5683eb6c4e1d80e02e1e23e5c9bfc8f83c80b (diff)
downloadsrc-552885bde60021ed6f1db46a95f9fb2557cbe1b6.tar.gz
src-552885bde60021ed6f1db46a95f9fb2557cbe1b6.zip
^sbin/ipfw: Fix null pointer deference when printing counters
ipfw -[tT] prints statistics of the last access. If the rule was never used, the counter might be not exist. This happens unconditionally on inserting a new rule. Avoid printing statistics in this case. PR: 255491 Reported by: Haisheng Zhouz Reviewed by: ae Differential Revision: https://reviews.freebsd.org/D30046 (cherry picked from commit bf7cc0f9cb6603a6bdd6131c8d1939724ce6e62d)
Diffstat (limited to 'sbin/newfs_msdos/mkfs_msdos.c')
0 files changed, 0 insertions, 0 deletions