1. 07 Jan, 2016 3 commits
  2. 04 Jan, 2016 5 commits
  3. 25 Dec, 2015 3 commits
  4. 22 Nov, 2015 1 commit
  5. 21 Nov, 2015 1 commit
  6. 14 Nov, 2015 2 commits
  7. 16 Oct, 2015 1 commit
  8. 05 Jul, 2015 1 commit
  9. 29 Jun, 2015 1 commit
  10. 28 Jun, 2015 1 commit
  11. 22 Jun, 2015 1 commit
  12. 20 Jun, 2015 1 commit
  13. 02 Jun, 2015 1 commit
  14. 23 May, 2015 1 commit
  15. 03 Apr, 2015 1 commit
  16. 01 Mar, 2015 2 commits
  17. 18 Feb, 2015 1 commit
    • Stefan Tauner's avatar
      Fix a number of problems in mstarddc_spi.c · adadca66
      Stefan Tauner authored
      
      Coverity has brought up the following problems:
      
      mstarddc_spi_send_command():
       - CID 1270702: bad comparison of malloced pointer 'cmd'.
       - CID 1270701: a NULL pointer dereference possible because of above.
      
      Simply checking the return value of malloc in a valid way fixes both problems.
      
      mstarddc_spi_init():
       - CID 1270699 and 1270700: Memory leak of i2c_device.
      
      This patch revamps the function in various ways to fix these issues and some
      other irritating bits.
      It reduces scopes of variables where possible, pushes the code towards our
      coding standards and introduces a label-based resource cleanup at the end.
      
      Corresponding to flashrom svn r1885.
      Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
      Acked-by: default avatarAlexandre Boeglin <alex@boeglin.org>
      adadca66
  18. 11 Feb, 2015 1 commit
  19. 10 Feb, 2015 1 commit
  20. 08 Feb, 2015 3 commits
  21. 27 Jan, 2015 1 commit
  22. 26 Jan, 2015 2 commits
  23. 25 Jan, 2015 4 commits
  24. 24 Jan, 2015 1 commit