1. 30 5月, 2015 1 次提交
  2. 10 4月, 2015 2 次提交
  3. 08 4月, 2015 1 次提交
  4. 03 4月, 2015 3 次提交
  5. 27 1月, 2015 2 次提交
  6. 23 12月, 2014 2 次提交
  7. 25 11月, 2014 11 次提交
  8. 21 10月, 2014 1 次提交
    • L
      [media] v4l: uvcvideo: Fix buffer completion size check · c601f53f
      Laurent Pinchart 提交于
      Commit e93e7fd9 ("v4l2: uvcvideo: Allow
      using larger buffers") reworked the buffer size sanity check at buffer
      completion time to use the frame size instead of the allocated buffer
      size. However, it introduced two bugs in doing so:
      
      - it assigned the allocated buffer size to the frame_size field, instead
        of assigning the correct frame size
      
      - it performed the assignment in the S_FMT handler, resulting in the
        frame_size field being uninitialized if the userspace application
        doesn't call S_FMT.
      
      Fix both issues by removing the frame_size field and validating the
      buffer size against the UVC video control dwMaxFrameSize.
      
      Fixes: e93e7fd9 ("v4l2: uvcvideo: Allow using larger buffers")
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      c601f53f
  9. 22 9月, 2014 4 次提交
  10. 03 9月, 2014 1 次提交
  11. 05 7月, 2014 1 次提交
  12. 23 5月, 2014 2 次提交
  13. 11 3月, 2014 2 次提交
  14. 06 3月, 2014 4 次提交
  15. 01 3月, 2014 3 次提交