reparse: Tighten reparse point length check
authorVolker Lendecke <vl@samba.org>
Sat, 4 May 2024 08:54:27 +0000 (10:54 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 6 May 2024 20:55:37 +0000 (20:55 +0000)
commitfafe29a26407237d9742cf135a7db759c88656b6
tree821cec29512b565c417a629880a5b8cc610bffee
parent2defbc994de3c0ce763c5272bdf23b6054e5af95
reparse: Tighten reparse point length check

test_create_reparse shows that the length checks need to be precise,
not just checking for overflow.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/reparse.c