aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-12-24 16:11:03 +1030
committerAlan Modra <amodra@gmail.com>2020-12-24 22:58:14 +1030
commitdccc31dee37b559219708c8d0accc7d512d51c1f (patch)
treed8a715ea7756951b41d671733c521e668622e51f /binutils/ChangeLog
parentde34d42812a0b978b278cd344abeaee7c71fa55c (diff)
downloadgdb-dccc31dee37b559219708c8d0accc7d512d51c1f.zip
gdb-dccc31dee37b559219708c8d0accc7d512d51c1f.tar.gz
gdb-dccc31dee37b559219708c8d0accc7d512d51c1f.tar.bz2
asan: print_vms_time signed integer overflow
I really don't think anyone cares about underflow of vms time values, but the potential segfault on a gmtime failure is worth fixing. * readelf.c (INT64_MIN): Define if not already defined. (print_vms_time): Catch 64-bit overflow when converting from vms time to posix time. Don't segfault if gmtime returns NULL.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 298c28c..3626fd8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2020-12-24 Alan Modra <amodra@gmail.com>
+
+ * readelf.c (INT64_MIN): Define if not already defined.
+ (print_vms_time): Catch 64-bit overflow when converting from
+ vms time to posix time. Don't segfault if gmtime returns NULL.
+
2020-12-23 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention LAM_U48 and LAM_U57 support.