aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-04-23 12:11:56 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-04-23 12:32:12 +0300
commit72af65ca06eeec98266fce0c474d5bfbc3d91951 (patch)
treee13d357336ad39f720f164ace57c35410c56031e /NEWS
parenta84e72a583c3ea6d261447ec1560bf0d3cb32356 (diff)
downloadgdbm-master.tar.gz
gdbm-master.tar.bz2
Fix possible integer overflows and cases of undefined behavior.HEADmaster
* src/avail.c (avail_comp): Prevent integer overflow. (gdbm_avail_table_valid_p): Likewise. * src/gdbmdefs.h (off_t_sum_ok): Change return type. Return false if any argument is negative. * src/gdbmopen.c (compute_directory_size): Prevent integer overflow. * src/hash.c (_gdbm_hash): Treat dptr elements as unsigned integers.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index fe36106..f4741e0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU dbm NEWS -- history of user-visible changes. 2021-03-21
+GNU dbm NEWS -- history of user-visible changes. 2021-03-23
Copyright (C) 1990-2021 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -54,9 +54,9 @@ See https://puszcza.gnu.org.ua/bugs/?401
** Fix spurious error from gdbm_dump and gdbm_export
-The functions incorrectly reported as error the GDBM_ITEM_NOT_FOUND
-status, which is reported when upon normal termination of iteration
-over the database keys.
+The functions incorrectly treated as error the GDBM_ITEM_NOT_FOUND
+status, which is reported upon normal termination of iteration
+over database keys.
** Make sure gdbm_sync always returns a meaningful value
See https://puszcza.gnu.org.ua/bugs/?400

Return to:

Send suggestions and report system problems to the System administrator.