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. Nov 02, 2016
  6. Jan 03, 2016
  7. Sep 23, 2015
  8. May 13, 2015
  9. Jan 08, 2015
  10. Jun 18, 2014
  11. Jan 01, 2014
  12. Apr 06, 2013
  13. Sep 06, 2012
  14. Mar 08, 2012
  15. Jan 20, 2012
  16. Jan 07, 2012
  17. Mar 05, 2011
  18. Nov 22, 2010
  19. Nov 16, 2010
  20. Nov 03, 2010
  21. Aug 17, 2010
  22. Jul 05, 2010
  23. Jul 01, 2010
  24. May 30, 2010
  25. May 05, 2010
  26. May 02, 2010
  27. Apr 28, 2010
  28. Apr 01, 2010
  29. Jan 28, 2010
  30. 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.