Skip to content
Snippets Groups Projects
  1. Feb 22, 2017
  2. Jan 30, 2017
  3. Jan 01, 2017
  4. 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
  5. Aug 20, 2016
  6. Jul 15, 2016
  7. Jun 13, 2016
  8. Jun 09, 2016
  9. May 18, 2016
  10. May 16, 2016
  11. Jan 03, 2016
  12. Sep 23, 2015
  13. Jan 08, 2015
  14. Oct 07, 2014
  15. Jun 17, 2014
  16. Jan 01, 2014
  17. Dec 25, 2013
  18. Apr 11, 2013
  19. Apr 06, 2013
  20. Aug 14, 2012
  21. Aug 12, 2012
  22. Jul 12, 2012
  23. May 01, 2012
  24. Apr 22, 2012
  25. Feb 29, 2012
  26. Jan 07, 2012
  27. Dec 27, 2011
  28. Dec 11, 2011
  29. Nov 19, 2011
  30. Aug 29, 2011
  31. Jun 22, 2011
  32. Mar 22, 2011
  33. Mar 05, 2011
  34. Jan 25, 2011
  35. Oct 01, 2010
  36. Sep 06, 2010
  37. Sep 04, 2010
  38. Aug 30, 2010
  39. Aug 17, 2010
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.