Skip to content
Snippets Groups Projects
  1. Nov 06, 2017
  2. Oct 23, 2017
  3. Oct 16, 2017
  4. Oct 15, 2017
  5. Oct 07, 2017
    • Tom Rini's avatar
      cmd/gpt.c, cmd/nvedit.c, tools/fit_image.c: Rework recent fixes for Coverity · bf52fcde
      Tom Rini authored
      
      The recent changes to these files did not completely fix the previous
      issues, or introduced different (minor) issues.  In cmd/gpt.c we need to
      dereference str_disk_guid to be sure that malloc worked.  In
      cmd/nvedit.c we need to be careful that we can also fit in that leading
      space when adding to the string.  And in tools/fit_image.c we need to
      re-work the error handling slightly in fit_import_data() so that we only
      call munmap() once.  We have two error paths here, one where we have an
      fd to close and one where we do not.  Adjust labels to match this.
      
      Reported-by: Coverity (CID: 167366, 167367, 167370)
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      bf52fcde
  6. Oct 06, 2017
    • Tom Rini's avatar
      tools/fit_image.c: Update some return code paths · 3c2dff54
      Tom Rini authored
      
      Coverity has found some problems with the return paths in parts of this
      code.  We have a case where we were going to the wrong part of the
      unwind (open() failed so we cannot close the fd), a case where we were
      only free()ing our buf on the error path and finally a case where we did
      not munmap in the failure path.
      
      Reported-by: Coverity (CID: 138492, 138495, 143064)
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      3c2dff54
  7. Sep 30, 2017
  8. Sep 29, 2017
    • Ulf Magnusson's avatar
      kconfiglib: update with 'imply' support · 4e1102f6
      Ulf Magnusson authored
      Corresponds to 375506d (File writing nit) from upstream
      (https://github.com/ulfalizer/Kconfiglib
      
      ).
      
      Adds proper 'imply' support and fixes a few minor issues, one of which
      previously triggered the following weird warning:
      
        configs/taurus_defconfig: /tmp/tmpisI45S:6: warning: assignment to SPL_LDSCRIPT changes mode of containing choice from "arch/$(ARCH)/cpu/u-boot-spl.lds" to "y"
      
      The change in 8639f69a (genconfig.py: Print defconfig next to warnings)
      was reapplied.
      
      tools/moveconfig.py previously depended on a hack that merged 'select's
      with 'imply's. It was modified to look at the union of
      Symbol.get_selected_symbols() and Symbol.get_implied_symbols(), which
      should give the same behavior.
      
      tools/genboardscfg.py was verified to produce identical board.cfg's
      before and after the change.
      
      Signed-off-by: default avatarUlf Magnusson <ulfalizer@gmail.com>
      4e1102f6
  9. Sep 24, 2017
  10. Sep 16, 2017
  11. Sep 15, 2017
  12. Sep 14, 2017
  13. Sep 12, 2017
  14. Sep 11, 2017
  15. Sep 07, 2017
  16. Sep 06, 2017
Loading