Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: Milter-greylist-4.1.10 segfaults on regular expressions

2009-02-05 by Oliver Fromme

manu@... wrote:
 > Oliver Fromme <olli@...> wrote:
 > 
 > > Why don't you use bzero(), BTW?
 > 
 > Why should I? 

Well, there's no strong technical reason, of course.
memset() is not wrong.

I was just wondering because bzero()'s purpose is
specifically to fill an area of memory with zeros.

It saves a few bytes in the binary and a few cycles
during execution, but it's not significant.  (It's
even possible that the compiler optimizes a call
to memset(..., 0, ...) with constant 0 to bzero(),
but I'm not sure if common compilers are that smart.)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Gesch\ufffdftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M\ufffdn-
chen, HRB 125758,  Gesch\ufffdftsf\ufffdhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"[...]  one observation we can make here is that Python makes
an excellent pseudocoding language, with the wonderful attribute
that it can actually be executed."  --  Bruce Eckel

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.