Skip to content
Commit 2803cf43 authored by Gertjan Halkes's avatar Gertjan Halkes Committed by Dominique Martinet
Browse files

9p: do not trust pdu content for stat item size



v9fs_dir_readdir() could deadloop if a struct was sent with a size set
to -2

Link: http://lkml.kernel.org/r/1536134432-11997-1-git-send-email-asmadeus@codewreck.org
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=88021
Signed-off-by: default avatarGertjan Halkes <gertjan@google.com>
Signed-off-by: default avatarDominique Martinet <dominique.martinet@cea.fr>
parent 6d35190f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment