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