fixed resource bounds checking when compressing; let --force override throwing an exception

This commit is contained in:
László Molnár
2015-08-11 13:05:10 +02:00
parent 718a1da262
commit 33065ecf04
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ protected:
void ibufcheck(const void *m, unsigned size);
public:
Resource();
Resource(const upx_byte *ibufstart, const upx_byte *ibufen);
Resource(const upx_byte *p, const upx_byte *ibufstart,
const upx_byte *ibufend);
~Resource();