1. 26 10月, 2019 1 次提交
  2. 10 9月, 2019 1 次提交
  3. 23 8月, 2019 3 次提交
  4. 27 6月, 2019 1 次提交
  5. 15 6月, 2019 1 次提交
  6. 05 5月, 2019 2 次提交
  7. 04 5月, 2019 1 次提交
  8. 17 4月, 2019 2 次提交
  9. 15 11月, 2018 1 次提交
  10. 08 8月, 2018 1 次提交
  11. 01 5月, 2018 1 次提交
  12. 28 4月, 2018 1 次提交
  13. 24 3月, 2018 1 次提交
  14. 20 3月, 2018 3 次提交
  15. 15 3月, 2018 1 次提交
  16. 27 1月, 2018 2 次提交
  17. 24 1月, 2018 2 次提交
  18. 11 1月, 2018 2 次提交
  19. 22 11月, 2017 2 次提交
  20. 01 11月, 2017 2 次提交
  21. 18 10月, 2017 1 次提交
  22. 14 10月, 2017 1 次提交
  23. 10 10月, 2017 1 次提交
  24. 03 10月, 2017 4 次提交
  25. 30 9月, 2017 1 次提交
  26. 28 8月, 2017 1 次提交
    • J
      i40e: prevent snprintf format specifier truncation · b5d5504a
      Jacob Keller 提交于
      Increase the size of the prefix buffer so that it can hold enough
      characters for every possible input. Although 20 is enough for all
      expected inputs, it is possible for the values to be larger than
      expected, resulting in a possibly truncated string. Additionally, lets
      use sizeof(prefix) in order to ensure we use the correct size if we need
      to change the array length in the future.
      
      New versions of GCC starting at 7 now include warnings to prevent
      truncation unless you handle the return code. At most 27 bytes can be
      written here, so lets just increase the buffer size even if for all
      expected hw->bus.* values we only needed 20.
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      b5d5504a