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