]> www.infradead.org Git - users/jedix/linux-maple.git/commit
smb: client: compress: fix a potential issue of freeing an invalid pointer
authorQianqiang Liu <qianqiang.liu@163.com>
Fri, 13 Sep 2024 00:00:54 +0000 (08:00 +0800)
committerSteve French <stfrench@microsoft.com>
Sun, 15 Sep 2024 15:42:45 +0000 (10:42 -0500)
commit590efcd3c75f0e1f7208cf1c8dff5452818b70f2
treeae7864d59584e8f7d0181d4a3ebc18c56c54ccb8
parent94ae8c3fee94a87bdf982d5559f8037c6c562657
smb: client: compress: fix a potential issue of freeing an invalid pointer

The dst pointer may not be initialized when calling kvfree(dst)

Fixes: 13b68d44990d9 ("smb: client: compress: LZ77 code improvements cleanup")
Signed-off-by: Qianqiang Liu <qianqiang.liu@163.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/compress.c