Page MenuHomeFreeBSD

D20760.diff
No OneTemporary

D20760.diff

Index: head/contrib/elftoolchain/libelftc/elftc_string_table.c
===================================================================
--- head/contrib/elftoolchain/libelftc/elftc_string_table.c
+++ head/contrib/elftoolchain/libelftc/elftc_string_table.c
@@ -119,7 +119,7 @@
st->st_string_pool_size = newsize;
}
- strcpy(st->st_string_pool + stlen, string);
+ memcpy(st->st_string_pool + stlen, string, len);
ELFTC_STRING_TABLE_UPDATE_LENGTH(st, stlen + len);
return (stlen);

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 19, 3:27 AM (17 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39149894
Default Alt Text
D20760.diff (485 B)

Event Timeline