diff options
Diffstat (limited to 'libelf/libelf_convert.m4')
| -rw-r--r-- | libelf/libelf_convert.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libelf/libelf_convert.m4 b/libelf/libelf_convert.m4 index 9f99f1ead866..ec395902a182 100644 --- a/libelf/libelf_convert.m4 +++ b/libelf/libelf_convert.m4 @@ -30,7 +30,7 @@ #include "_libelf.h" -ELFTC_VCSID("$Id: libelf_convert.m4 3174 2015-03-27 17:13:41Z emaste $"); +ELFTC_VCSID("$Id: libelf_convert.m4 3429 2016-03-12 04:12:39Z emaste $"); /* WARNING: GENERATED FROM __file__. */ @@ -1019,6 +1019,7 @@ _libelf_cvt_NOTE_tof(unsigned char *dst, size_t dsz, unsigned char *src, WRITE_WORD(dst, type); src += sizeof(Elf_Note); + count -= sizeof(Elf_Note); if (count < sz) sz = count; |
