Skip to content
Snippets Groups Projects
Commit 116b9a27 authored by Jan Kara's avatar Jan Kara Committed by Andrew Chant
Browse files

BACKPORT: udf: Check path length when reading symlink


Symlink reading code does not check whether the resulting path fits into
the page provided by the generic code. This isn't as easy as just
checking the symlink size because of various encoding conversions we
perform on path. So we have to check whether there is still enough space
in the buffer on the fly.

Upstream commit: 0e5cc9a4
CC: stable@vger.kernel.org
Reported-by: default avatarCarl Henrik Lunde <chlunde@ping.uio.no>
Bug: 35841292
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Change-Id: I91c49f41c9bb9f5c6898bbcd5f125f3accb70a57
parent ec350008
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment