Skip to content
Snippets Groups Projects
  1. Jan 25, 2016
  2. Jan 04, 2016
  3. Nov 20, 2015
  4. May 21, 2015
  5. Apr 18, 2015
  6. Jul 22, 2014
  7. May 29, 2014
  8. May 09, 2014
  9. Mar 07, 2014
  10. Nov 08, 2013
  11. Oct 14, 2013
  12. Jul 24, 2013
  13. May 14, 2013
  14. May 01, 2013
  15. Apr 17, 2013
    • Maxime Larocque's avatar
      printenv: Correct out-of-memory condition check. · 22a4a6c5
      Maxime Larocque authored
      
      In common/cmd_nvedit.c, en env_print(), the wrong type is used for len.
      hexport_r() returns -1 on error (like OOM), which is converted to
      0xffffffff when put in an unsigned. Said value is obviously bigger then
      0, and as a result an uninitialized string is then displayed. Other
      usages of hexport_r() in the code correctly uses ssize_t to keep its
      return value.
      
      Signed-off-by: default avatarMaxime Larocque <maxmtl2002@yahoo.ca>
      22a4a6c5
  16. Apr 11, 2013
  17. Mar 12, 2013
    • Wolfgang Denk's avatar
      env: fix "env ask" command · 7d85591d
      Wolfgang Denk authored
      
      The "env ask" traditionally uses a somewhat awkward syntax:
      
      	env ask name [message ...] [size]
      
      So far, when a mesage was given, you always also had to enter a size.
      If you forgot to do that, the command would terminate without any
      indication of the problem.
      
      To avoid incompatible changes of the interface, we now check the last
      argument if it can be converted into a decimal number.  If this is the
      case, we assume it is a size; otherwise we treat it as part of the
      message.
      
      Also, add a space after the message fore easier reading,
      and clean up help mesage.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      7d85591d
  18. Mar 04, 2013
  19. Mar 01, 2013
  20. Dec 13, 2012
Loading