diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-05-18 06:46:24 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-05-18 06:46:24 +0000 |
commit | 9090e45334c51817d4a0fa281c9d76c6e90f8d07 (patch) | |
tree | b031656cb3332146fd6486dd2f885f3a22897f69 /lib/libelf/libelf_convert.m4 | |
parent | b6287cef9243e06e73ff157fa843467499f51489 (diff) |
update libelf from elftoolchain r3717 to r3833
ok deraadt@
Diffstat (limited to 'lib/libelf/libelf_convert.m4')
-rw-r--r-- | lib/libelf/libelf_convert.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libelf/libelf_convert.m4 b/lib/libelf/libelf_convert.m4 index af3282a2378..2d631caeadf 100644 --- a/lib/libelf/libelf_convert.m4 +++ b/lib/libelf/libelf_convert.m4 @@ -31,7 +31,7 @@ #include "_libelf.h" -ELFTC_VCSID("$Id: libelf_convert.m4,v 1.2 2019/03/19 02:31:35 jsg Exp $"); +ELFTC_VCSID("$Id: libelf_convert.m4,v 1.3 2020/05/18 06:46:23 jsg Exp $"); /* WARNING: GENERATED FROM __file__. */ @@ -971,6 +971,7 @@ _libelf_cvt_NOTE_tom(unsigned char *dst, size_t dsz, unsigned char *src, if (count < sz || dsz < sz) /* Buffers are too small. */ return (0); + /* Copy the remainder of the note as-is. */ (void) memcpy(dst, src, sz); src += sz; @@ -1025,6 +1026,7 @@ _libelf_cvt_NOTE_tof(unsigned char *dst, size_t dsz, unsigned char *src, if (count < sz) sz = count; + /* Copy the remainder of the note as-is. */ (void) memcpy(dst, src, sz); src += sz; |