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