mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
too small: (st.st_size < 512)
This commit is contained in:
parent
63afeb7373
commit
8939cd120b
|
@ -81,7 +81,7 @@ void do_one_file(const char *iname, char *oname)
|
||||||
#endif
|
#endif
|
||||||
if (st.st_size <= 0)
|
if (st.st_size <= 0)
|
||||||
throwIOException("empty file -- skipped");
|
throwIOException("empty file -- skipped");
|
||||||
if (st.st_size < 1024)
|
if (st.st_size < 512)
|
||||||
throwIOException("file is too small -- skipped");
|
throwIOException("file is too small -- skipped");
|
||||||
if (st.st_size >= 1024*1024*1024)
|
if (st.st_size >= 1024*1024*1024)
|
||||||
throwIOException("file is too large -- skipped");
|
throwIOException("file is too large -- skipped");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user