mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
The check for writing more than cb_max_size bytes does not 'goto out' so
it is a no-op which allows users to vmalloc an arbitrary amount.
Fixes: 03607ace80 ("configfs: implement binary attributes")
Cc: [email protected]
Signed-off-by: Phil Turnbull <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>