Skip to content
Snippets Groups Projects
  1. Jan 01, 2018
  2. Jan 01, 2017
  3. 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
  4. Jan 03, 2016
  5. Aug 06, 2015
  6. Jan 08, 2015
  7. Jan 01, 2014
  8. Apr 06, 2013
  9. Apr 02, 2013
  10. Oct 12, 2012
  11. Aug 12, 2012
  12. Jan 07, 2012
  13. Dec 11, 2011
  14. Mar 05, 2011
  15. Sep 09, 2010
  16. Aug 17, 2010
  17. Jan 17, 2010
  18. Jan 13, 2010
  19. Jan 02, 2010
  20. Jan 01, 2010
  21. Dec 31, 2009
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.