summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorPranav Tilak <[email protected]>2026-03-23 15:14:14 +0530
committerJerome Forissier <[email protected]>2026-03-31 16:43:28 +0200
commitfd6e3d34097f9fbe268aa56a50fecc013f4d07a3 (patch)
tree6612cf003a59ae26dee5fe2dc4ea56a7fb04980b /include/linux/zstd_errors.h
parent078e2663e44ae36a66d4f4cd9b6506689e328633 (diff)
net: lwip: nfs: fix buffer overflow when using symlinks
When resolving a symlink, nfs_path points into a heap allocated buffer which is just large enough to hold the original path with no extra space. If the symlink target name is longer than the original filename, the write goes beyond the end of the buffer corrupting heap memory. Fix this by ensuring nfs_path always points to a buffer large enough to accommodate the resolved symlink path. Fixes: 230cf3bc2776 ("net: lwip: nfs: Port the NFS code to work with lwIP") Signed-off-by: Pranav Tilak <[email protected]> Acked-by: Jerome Forissier <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions