[Users] [Bug 3924] Fix configuration of sieve plugin on FreeBSD (segfaulted)

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Nov 27 14:08:05 CET 2017


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3924

--- Comment #4 from Ricardo Mones <mones at users.sourceforge.net> ---
(In reply to comment #3)
> Thanks for applying the patch so quickly.
> 
> Please note that it might make sense to simply make the code for win/openbsd
> and freebsd the default and get rid of the ifdefs. I don't think using "%ms"
> buys that much and it might still break on mac os x, netbsd etc. in its
> current state.

Well, it's very convenient to avoid dealing with fixed-length buffers in the
application and let the underlying library do it better :-)

https://stackoverflow.com/questions/38685724/difference-between-ms-and-s-scanf

Haven't heard about others breaking, but maybe there's a better way to protect
the %ms usage with feature flags.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list