Skip to content
Snippets Groups Projects
  1. Oct 30, 2017
  2. Oct 06, 2017
  3. Sep 22, 2017
  4. Jul 08, 2017
  5. Jun 20, 2017
  6. Feb 22, 2017
  7. Jan 30, 2017
  8. Jan 01, 2017
  9. Dec 30, 2016
    • Stephan Bosch's avatar
      global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro. · 131ea974
      Stephan Bosch authored
      Used the following script:
      
      C_FILES=`git ls-files *.c`
      H_FILES=`git ls-files *.h`
      for F in "$C_FILES $H_FILES"; do
              echo "$F"
        perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
        perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
        perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
        perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
      done
      131ea974
  10. Aug 20, 2016
  11. Jul 15, 2016
  12. Jun 13, 2016
  13. Jun 09, 2016
  14. May 18, 2016
  15. May 16, 2016
  16. Jan 03, 2016
  17. Sep 23, 2015
  18. Jan 08, 2015
  19. Oct 07, 2014
  20. Jun 17, 2014
  21. Jan 01, 2014
  22. Dec 25, 2013
  23. Apr 11, 2013
  24. Apr 06, 2013
  25. Aug 14, 2012
  26. Aug 12, 2012
  27. Jul 12, 2012
  28. May 01, 2012
  29. Apr 22, 2012
  30. Feb 29, 2012
  31. Jan 07, 2012
  32. Dec 27, 2011
  33. Dec 11, 2011
  34. Nov 19, 2011
  35. Aug 29, 2011
  36. Jun 22, 2011
  37. Mar 22, 2011
  38. Mar 05, 2011
  39. Jan 25, 2011
Loading

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.