freebsd-dev/sbin/dump
Warner Losh b9c7cba522 Fix a bug in the counting of blks.
We shouldn't count the bytes set in c_addr for TS_CLRI and TS_BITS
nodes. Those block overload c_count to communicate how many blocks
follow, not now many c_addr spaces are used. Dump would dump core
(now) because memory layout moved around and we'd access elements past
the end to make a count.

Reviewed by: kib@
2018-06-11 20:38:26 +00:00
..
cache.c
dump.8 Document the newly enforced 524288 inode restriction. 2018-06-11 19:32:45 +00:00
dump.h Refactoring of reading and writing of the UFS/FFS superblock. 2018-01-26 00:58:32 +00:00
dumprmt.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
itime.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
main.c Don't initialize c_count. We don't need to. 2018-06-11 19:35:41 +00:00
Makefile Refactoring of reading and writing of the UFS/FFS superblock. 2018-01-26 00:58:32 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
optr.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tape.c Fix a bug in the counting of blks. 2018-06-11 20:38:26 +00:00
traverse.c Add asserts to prevent overflows of c_addr. 2018-06-11 19:32:36 +00:00
unctime.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00