1. 13 3月, 2015 1 次提交
  2. 10 3月, 2015 6 次提交
  3. 26 2月, 2015 2 次提交
  4. 16 2月, 2015 1 次提交
  5. 07 2月, 2015 1 次提交
  6. 24 1月, 2015 1 次提交
    • J
      block: update string sizes for filename,backing_file,exact_filename · 9a29e18f
      Jeff Cody 提交于
      The string field entries 'filename', 'backing_file', and
      'exact_filename' in the BlockDriverState struct are defined as 1024
      bytes.
      
      However, many places that use these values accept a maximum of PATH_MAX
      bytes, so we have a mixture of 1024 byte and PATH_MAX byte allocations.
      This patch makes the BlockDriverStruct field string sizes match usage.
      
      This patch also does a few fixes related to the size that needs to
      happen now:
      
          * the block qapi driver is updated to use PATH_MAX bytes
          * the qcow and qcow2 drivers have an additional safety check
          * the block vvfat driver is updated to use PATH_MAX bytes
            for the size of backing_file, for systems where PATH_MAX is < 1024
            bytes.
          * qemu-img uses PATH_MAX rather than 1024.  These instances were not
            changed to be dynamically allocated, however, as the extra
            temporary 3K in stack usage for qemu-img does not seem worrisome.
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NJohn Snow <jsnow@redhat.com>
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      9a29e18f
  7. 10 12月, 2014 5 次提交
  8. 03 11月, 2014 5 次提交
  9. 23 10月, 2014 3 次提交
  10. 20 10月, 2014 1 次提交
  11. 05 10月, 2014 1 次提交
  12. 22 9月, 2014 3 次提交
  13. 12 9月, 2014 4 次提交
  14. 20 8月, 2014 2 次提交
  15. 15 8月, 2014 3 次提交
  16. 18 7月, 2014 1 次提交