do not store 1st two bytes of compressed help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -73,8 +73,7 @@ static const char *unpack_usage_messages(void)
|
||||
|
||||
i = start_bunzip(&bd,
|
||||
/* src_fd: */ -1,
|
||||
//FIXME: can avoid storing these 2 bytes!
|
||||
/* inbuf: */ (void *)packed_usage + 2,
|
||||
/* inbuf: */ (void *)packed_usage,
|
||||
/* len: */ sizeof(packed_usage));
|
||||
/* read_bunzip can longjmp to start_bunzip, and ultimately
|
||||
* end up here with i != 0 on read data errors! Not trivial */
|
||||
|
Reference in New Issue
Block a user