Small updates.

This commit is contained in:
Markus F.X.J. Oberhumer
2007-01-23 13:50:39 +01:00
parent 6e32dff2ad
commit 7271ae9611
3 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ int upx_lzma_compress ( const upx_bytep src, unsigned src_len,
rh = enc.Code(&is, &os, NULL, NULL, &progress);
#ifndef _NO_EXCEPTIONS
} catch(...) { return UPX_E_OUT_OF_MEMORY; }
} catch (...) { rh = E_OUTOFMEMORY; }
#endif
assert(is.b_pos <= src_len);