mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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]>