Fix regression in compiler identification
This commit is contained in:
parent
0d776be8f9
commit
dd9d36c10f
|
@ -4017,7 +4017,7 @@ char *Elf_(r_bin_elf_compiler)(ELFOBJ *bin) {
|
|||
buf[sz] = 0;
|
||||
const size_t buflen = strlen (buf);
|
||||
char *nullbyte = buf + buflen;
|
||||
if (nullbyte[0] && nullbyte[1] && buflen < sz) {
|
||||
if (buflen != sz && nullbyte[1] && buflen < sz) {
|
||||
nullbyte[0] = ' ';
|
||||
}
|
||||
buf[sz] = 0;
|
||||
|
|
Loading…
Reference in New Issue