summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorRajesh Bondugula <rajeshb@codeaurora.org>2016-09-22 15:13:11 -0700
committerRajesh Bondugula <rajeshb@codeaurora.org>2016-09-22 15:15:27 -0700
commit068a9fe4b3079fff6f0a1d23e47449f9a932e571 (patch)
tree47c7debe58c3cde1845520f46febcefa9f25fc58 /fs/jbd2/commit.c
parent9b82a4c5896632b62140d1ddda55638fea254007 (diff)
msm: camera: Restructure data handling to be more robust
Use dynamic array allocation instead of static array to prevent stack overflow. User-supplied number of bytes may result in integer overflow. To fix this we check that the num_byte isn't above 8K size. CRs-Fixed: 1060554 Change-Id: I407b5ec8cdc2ac7f3b491644418d3eb1101ce65a Signed-off-by: Samyukta Mogily <smogily@codeaurora.org> Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions