The patch titled Subject: unlzo: Fix input buffer free has been added to the -mm tree. Its filename is unlzo-fix-input-buffer-free.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Subject: unlzo: Fix input buffer free unlzo modifies the pointer to in_buf, so we have to free the original buffer, not the modified pointer. This only happens when a fill function is passed, a case which is currently unused in the kernel. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Cc: Lasse Collin <lasse.collin@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/decompress_unlzo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/decompress_unlzo.c~unlzo-fix-input-buffer-free lib/decompress_unlzo.c --- a/lib/decompress_unlzo.c~unlzo-fix-input-buffer-free +++ a/lib/decompress_unlzo.c @@ -279,7 +279,7 @@ STATIC inline int INIT unlzo(u8 *input, ret = 0; exit_2: if (!input) - free(in_buf); + free(in_buf_save); exit_1: if (!output) free(out_buf); _ Subject: Subject: unlzo: Fix input buffer free Patches currently in -mm which might be from s.hauer@xxxxxxxxxxxxxx are origin.patch linux-next.patch unlzo-fix-input-buffer-free.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html