mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
(_dl_reloc_bad_type): Nul-terminate message.
This commit is contained in:
parent
6ce3881de5
commit
f6fe58268b
@ -223,7 +223,8 @@ _dl_reloc_bad_type (struct link_map *map, unsigned int type, int plt)
|
||||
|
||||
cp = __stpcpy (msgbuf, msg[plt]);
|
||||
*cp++ = DIGIT (type >> 4);
|
||||
*cp = DIGIT (type);
|
||||
*cp++ = DIGIT (type);
|
||||
*cp = '\0';
|
||||
|
||||
INTUSE(_dl_signal_error) (0, map->l_name, NULL, msgbuf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user