Files
Linux/lib/xz
Lasse Collin 8e20ba2e53 lib/xz: fix XZ_DYNALLOC to avoid useless memory reallocations
s->dict.allocated was initialized to 0 but never set after a successful
allocation, thus the code always thought that the dictionary buffer has
to be reallocated.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Lasse Collin <[email protected]>
Reported-by: Yu Sun <[email protected]>
Acked-by: Daniel Walker <[email protected]>
Cc: "Yixia Si (yisi)" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2019-11-15 18:34:00 -08:00
..
2011-09-21 13:39:59 -07:00