1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

avoid randomness for progid in Elf

This commit is contained in:
John Reiser 2006-06-13 08:53:41 -07:00
parent d89e561a85
commit 112b10c19d

View File

@ -879,7 +879,7 @@ void PackLinuxElf32::pack1(OutputFile */*fo*/, Filter &/*ft*/)
fi->seek(e_phoff, SEEK_SET);
fi->readx(phdri, sz_phdrs);
progid = getRandomId();
progid = 0; // getRandomId(); not useful, so do not clutter
}
void PackLinuxElf32x86::pack1(OutputFile *fo, Filter &ft)
@ -919,7 +919,7 @@ void PackLinuxElf64::pack1(OutputFile */*fo*/, Filter &/*ft*/)
fi->seek(e_phoff, SEEK_SET);
fi->readx(phdri, sz_phdrs);
progid = getRandomId();
progid = 0; // getRandomId(); not useful, so do not clutter
}
void PackLinuxElf64amd::pack1(OutputFile *fo, Filter &ft)