mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Delete trailing space characters
https://github.com/upx/upx/pull/589 modified: pefile.cpp
This commit is contained in:
parent
077793fa5e
commit
bfd2153f2b
|
@ -2165,10 +2165,10 @@ void PeFile::checkHeaderValues(unsigned subsystem, unsigned mask,
|
|||
//check CLR Runtime Header directory entry
|
||||
if (IDSIZE(PEDIR_COMRT))
|
||||
throwCantPack(".NET files are not yet supported");
|
||||
|
||||
|
||||
if(isection == NULL)
|
||||
throwCantPack("No section was found");
|
||||
|
||||
|
||||
if (memcmp(isection[0].name,"UPX",3) == 0)
|
||||
throwAlreadyPackedByUPX();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user