Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/binutils CID 1102810: Fix uninit...



details:   https://anonhg.NetBSD.org/src/rev/a102623d0008
branches:  trunk
changeset: 791350:a102623d0008
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 14 01:18:02 2013 +0000

description:
CID 1102810: Fix uninitialized

diffstat:

 external/gpl3/binutils/dist/binutils/readelf.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 145b4b68da92 -r a102623d0008 external/gpl3/binutils/dist/binutils/readelf.c
--- a/external/gpl3/binutils/dist/binutils/readelf.c    Thu Nov 14 01:14:39 2013 +0000
+++ b/external/gpl3/binutils/dist/binutils/readelf.c    Thu Nov 14 01:18:02 2013 +0000
@@ -6974,6 +6974,11 @@
 
       remaining = 4;
     }
+  else
+    {
+      addr.section = SHN_UNDEF;
+      addr.offset = 0;
+    }
 
   if ((word & 0x80000000) == 0)
     {



Home | Main Index | Thread Index | Old Index