summaryrefslogtreecommitdiffabout
path: root/src/findkey.c
authorSergey Poznyakoff <gray@gnu.org>2018-05-24 05:09:48 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-05-24 05:09:48 (GMT)
commit0665bcf0c9cdf756f9d5edc6a638c56602c42065 (patch) (unidiff)
tree590d81a45721edca6b3530e7681d8f0db32af94b /src/findkey.c
parentce702a1ca5ed9240cd0a70583c4234c34ce81b73 (diff)
downloadgdbm-0665bcf0c9cdf756f9d5edc6a638c56602c42065.tar.gz
gdbm-0665bcf0c9cdf756f9d5edc6a638c56602c42065.tar.bz2
error checking: check for avail_block consistency before using it
* src/gdbmdefs.h (gdbm_avail_block_valid_p): New function. * src/gdbm.h.in (GDBM_BAD_AVAIL): New error code. * src/gdbmerrno.c: Support new error code. * src/falloc.c (pop_avail_block): Validate the avail_block * src/gdbmopen.c (validate_header): Validate the avail_block. * src/gdbmtool.c (_gdbm_avail_list_size) (_gdbm_print_avail_list): Validate the avail_block.
Diffstat (limited to 'src/findkey.c') (more/less context) (show whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.