1. 08 Feb, 2017 3 commits
  2. 07 Feb, 2017 2 commits
  3. 01 Feb, 2017 8 commits
  4. 28 Jan, 2017 1 commit
  5. 27 Jan, 2017 1 commit
    • Martin Kaiser's avatar
      tools: imximage: refactor header length calculations for imximage v1 · 97f17fa6
      Martin Kaiser authored
      We can use the same header length calculations for both imximage v1 and
      v2. This addresses TODO comments about imximage v1 in the current code.
      
      With this patch applied, *header_size_ptr in imximage_set_header() will
      have the correct value for both imximage v1 and v2. This is necessary
      for people wanting to add proprietary data behind the created imximage.
      Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
      Cc: sbabic@denx.de
      97f17fa6
  6. 24 Jan, 2017 1 commit
  7. 20 Jan, 2017 3 commits
  8. 14 Jan, 2017 1 commit
  9. 02 Jan, 2017 2 commits
  10. 27 Dec, 2016 2 commits
  11. 26 Dec, 2016 1 commit
  12. 19 Dec, 2016 9 commits
  13. 16 Dec, 2016 1 commit
  14. 09 Dec, 2016 2 commits
  15. 08 Dec, 2016 1 commit
    • Michal Simek's avatar
      tools: mkimage: Use fstat instead of stat to avoid malicious hacks · 37a2cf6f
      Michal Simek authored
      The patch is fixing:
      "tools: mkimage: Check if file is regular file"
      (sha1: 56c7e801)
      which contains two issues reported by Coverity
      Unchecked return value from stat and incorrect calling sequence where
      attack can happen between calling stat and fopen.
      Using pair in opposite order (fopen and fstat) is fixing this issue
      because fstat is using the same file descriptor (FILE *).
      
      Also fixing issue with:
      "tools: mkimage: Add support for initialization table for Zynq and
      ZynqMP" (sha1: 3b646080)
      where file wasn't checked that it is regular file.
      
      Reported-by: Coverity (CID: 154711, 154712)
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Series-to: trini
      Series-cc: u-boot
      37a2cf6f
  16. 03 Dec, 2016 1 commit
  17. 02 Dec, 2016 1 commit