summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorLiangliang Lu <luliang@codeaurora.org>2017-02-17 20:02:47 +0800
committerLiangliang Lu <luliang@codeaurora.org>2017-02-22 11:37:11 +0800
commitad606c95cd0cf19e28277030e2033e9b1d3d68fd (patch)
treead8fdf69bf37f0262e6498fdde799ef40e60259b /fs/jbd2/commit.c
parent9c9289f6002c01216e976a8f843c8e47b4cdef56 (diff)
usb: dwc3: Replace sscanf with kstrtou8_from_user
Variable "ubuf " and "buf" may point to kernel address, a malicious user could use code logic to get kernel information. Use kstrtou8_from_user() which take care of copying buffer, and finding u8 value here. Change-Id: Ibb4373bdef7e921b81255d29b8650dd31b46f3c9 Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions