[Bug 2689] unlzma loops

bugzilla at busybox.net bugzilla at busybox.net
Sat Oct 9 12:30:04 UTC 2010


--- Comment #3 from dborca <dborca at yahoo.com>  ---
>From what I've seen, buffer_pos only changes this way:

buffer[buffer_pos++] = previous_byte;
if (buffer_pos == header.dict_size) {
  buffer_pos = 0;
  /* flush dictionary */

and it looks like header.dst_size should be compared against (global_pos +
buffer_pos), not against buffer_pos (see attached patch).

Or maybe I am just missing something.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list