diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-05-24 13:47:50 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-05-24 13:47:50 +0200 |
commit | b001c227fdf02e3ed1e87161cbc1dec4a1184203 (patch) | |
tree | cf2135c91a76a9642d497b77e41857add4d6a496 /doc/gdbm.texi | |
parent | e01d90f2cdebaa2a3543aa651b92e9d397a3bf77 (diff) | |
download | gdbm-b001c227fdf02e3ed1e87161cbc1dec4a1184203.tar.gz gdbm-b001c227fdf02e3ed1e87161cbc1dec4a1184203.tar.bz2 |
More input checking fixes
* src/gdbmdefs.h (gdbm_avail_block_valid_p): Minimal capacity
of an avail_block is 1 (one entry is stored in the block itself).
* src/gdbmopen.c (gdbm_avail_table_valid_p): New function.
(validate_header): Fix verification of dir_size and dir_bits.
Verify avail.size.
* src/falloc.c (pop_avail_block): Use gdbm_avail_table_valid_p
* src/gdbmtool.c (_gdbm_print_avail_list): Likewise.
Diffstat (limited to 'doc/gdbm.texi')
0 files changed, 0 insertions, 0 deletions