Skip to content
Snippets Groups Projects
  1. Feb 08, 2022
  2. May 14, 2021
  3. Mar 06, 2021
  4. Mar 02, 2021
  5. Nov 13, 2019
  6. Oct 28, 2019
  7. Oct 24, 2019
  8. Oct 16, 2019
  9. Jan 01, 2018
  10. Dec 15, 2017
  11. Oct 05, 2017
    • Stephan Bosch's avatar
      managesieve: Fix missing-command check · 37e8f71c
      Stephan Bosch authored
      Mirrors imap fix in Dovecot: 42149f48624b82fdf9631c256497580154c2e412
      
      It's impossible for the command's pointer to be NULL at this point.
      Previously, the command_find() would have returned NULL, but this check
      presumably short-circuits that search in the trivial case, so has some
      real use.
      
      Problem now found by GCC 7.
      37e8f71c
  12. Feb 26, 2017
  13. Feb 22, 2017
  14. Jan 01, 2017
  15. 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
  16. Nov 13, 2016
  17. Nov 03, 2016
  18. Nov 02, 2016
  19. Oct 21, 2016
  20. Aug 28, 2016
  21. Aug 25, 2016
  22. Jun 09, 2016
  23. May 30, 2016
  24. May 15, 2016
  25. Jan 03, 2016
  26. Oct 29, 2015
  27. Sep 23, 2015
  28. Sep 07, 2015
  29. May 13, 2015
  30. Jan 08, 2015
  31. Oct 19, 2014
  32. Aug 23, 2014
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.