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