(_dl_reloc_bad_type): Nul-terminate message.

This commit is contained in:
Ulrich Drepper 2002-08-25 21:52:49 +00:00
parent 6ce3881de5
commit f6fe58268b

View File

@ -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);
}