1. 02 Jul, 2013 2 commits
    • Philippe Teuwen's avatar
      Fix warning about garbage value · a5d40cef
      Philippe Teuwen authored
      acr122s.c:196:23: warning: The left operand of '<<' is a garbage value
        size_t frame_size = FRAME_SIZE(frame);
                            ^          ~~~~~~
      acr122s.c:76:24: note: expanded from macro 'FRAME_SIZE'
                             ^
      acr122s.c:74:47: note: expanded from macro 'APDU_SIZE'
      a5d40cef
    • Philippe Teuwen's avatar
      Fix warnings Null pointer passed as an argument to a nonnull parameter · 5cda3af5
      Philippe Teuwen authored
      acr122s.c:331:3: warning: Null pointer passed as an argument to a 'nonnull' parameter
        memcpy(buf, data, data_size);
        ^           ~~~~
      
      pn53x.c:3138:3: warning: Null pointer passed as an argument to a 'nonnull' parameter
        memcpy(CHIP_DATA(pnd)->current_target, pnt, sizeof(nfc_target));
        ^                                      ~~~
      5cda3af5
  2. 17 Mar, 2013 4 commits
  3. 16 Mar, 2013 1 commit
  4. 10 Mar, 2013 1 commit
  5. 09 Mar, 2013 1 commit
  6. 07 Mar, 2013 1 commit
  7. 05 Mar, 2013 2 commits
    • Philippe Teuwen's avatar
      Fix cppcheck warning "scanf without field width limits can crash with huge input data" · d577fda4
      Philippe Teuwen authored
      Fix following warnings:
      [examples/pn53x-tamashell.c:162]: (warning) scanf without field width limits can crash with huge input data
      [libnfc/drivers/acr122_pcsc.c:261]: (warning) scanf without field width limits can crash with huge input data
      [libnfc/drivers/acr122s.c:441]: (warning) scanf without field width limits can crash with huge input data
      [libnfc/drivers/arygon.c:210]: (warning) scanf without field width limits can crash with huge input data
      [libnfc/drivers/arygon.c:522]: (warning) scanf without field width limits can crash with huge input data
      [libnfc/drivers/pn532_uart.c:187]: (warning) scanf without field width limits can crash with huge input data
      [utils/nfc-relay-picc.c:176]: (warning) scanf without field width limits can crash with huge input data
      d577fda4
    • Philippe Teuwen's avatar
      nfc_device_new(): replace err() by return · 09ef2e39
      Philippe Teuwen authored
      Not a good idea to call exit() from a library...
      09ef2e39
  8. 02 Mar, 2013 1 commit
  9. 21 Feb, 2013 1 commit
  10. 31 Jan, 2013 2 commits
  11. 26 Nov, 2012 1 commit
    • Romuald Conty's avatar
      Improves log feature: · 9b3947b8
      Romuald Conty authored
        * Add --disable-log
        * Add a log level filter, configurable using conf file (ie. /etc/nfc/libnfc.conf) or environment var LIBNFC_LOG_LEVEL
      9b3947b8
  12. 21 Oct, 2012 4 commits
  13. 04 Jun, 2012 1 commit
  14. 29 May, 2012 6 commits
  15. 27 May, 2012 1 commit
  16. 17 May, 2012 2 commits
  17. 16 May, 2012 1 commit
  18. 13 May, 2012 2 commits
  19. 01 Mar, 2012 1 commit
  20. 27 Feb, 2012 1 commit
  21. 17 Feb, 2012 1 commit
  22. 23 Nov, 2011 1 commit