mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Update comment.
This commit is contained in:
parent
1a51451ec2
commit
8a150b27c3
|
@ -87,7 +87,7 @@ int upx_compress ( const upx_bytep src, unsigned src_len,
|
||||||
// set available bytes in dst
|
// set available bytes in dst
|
||||||
if (*dst_len == 0)
|
if (*dst_len == 0)
|
||||||
*dst_len = MemBuffer::getSizeForCompression(src_len);
|
*dst_len = MemBuffer::getSizeForCompression(src_len);
|
||||||
// for UPX, we always need a resonably sized outbut buffer
|
// for UPX, we always require a reasonably sized outbut buffer
|
||||||
assert(*dst_len >= MemBuffer::getSizeForCompression(src_len));
|
assert(*dst_len >= MemBuffer::getSizeForCompression(src_len));
|
||||||
|
|
||||||
if (!result)
|
if (!result)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user