diff options
author | Sylwester Nawrocki <[email protected]> | 2011-05-23 09:15:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2011-06-11 09:45:32 -0300 |
commit | a629f86b4aa1669ddf2afaa3ded66d5a59d60b77 (patch) | |
tree | db0bf2dae45373ef6d59dbaf82c676307b82e590 /net/lapb/lapb_timer.c | |
parent | 3495dcefeb3b5ab825788206d5b696be14f4de19 (diff) |
[media] s5p-fimc: Fix wrong buffer size in queue_setup
Avoid dereferencing of NULL f->fmt. Correct size of the allocated
buffer in case the crop rectangle is smaller than the bounds
rectangle (configured with S_FMT). Also remove redundant check
for *num_buffer == 0 as this case is handled in videobuf2.
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions