summaryrefslogtreecommitdiff
path: root/libebl/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-05-17 20:07:56 +0200
committerMark Wielaard <mjw@redhat.com>2015-05-27 23:04:31 +0200
commit390dd3d21c5b92dda139da744edae7093d70fc9b (patch)
tree4f72e91e6ab4948af4755d2f43d8e05e980f8d3c /libebl/ChangeLog
parentdf1708a2d69dc3e58f10ed06a6475bb63bf21dcf (diff)
downloadelfutils-390dd3d21c5b92dda139da744edae7093d70fc9b.tar.gz
libebl: Don't blow up stack when processing large NT_GNU_ABI_TAG.
Normally an NT_GNU_ABI_TAG is large, just 4 words (16 bytes). Only use stack allocated conversion buf for small (max 16 words) notes. Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libebl/ChangeLog')
-rw-r--r--libebl/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index 9ca7b47f..51ae60f2 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,5 +1,10 @@
2015-05-17 Mark Wielaard <mjw@redhat.com>
+ * eblobjnote.c (ebl_object_note): If allocation buf is large, then
+ allocate it with malloc.
+
+2015-05-17 Mark Wielaard <mjw@redhat.com>
+
* eblopenbackend.c (MAX_PREFIX_LEN): New define (16).
(openbackend): Stack allocate symname array using MAX_PREFIX_LEN.