c398eca6b0fc6583687bd6fe2ee2dbcca2ae9387 |
|
18-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: printf_format_fix*() - Be over-strict in what format strings are allowed
The checks could have been bypassed by some invalid format strings that were
handled differently by the printf_format_fix*() code and libc. For example
"%**%n" was passed through as ok, but glibc handled the %n in it.
Found by cPanel Security Team. |
1dcf22e98ba8310e8daa8c9297936c6f3a645e7a |
|
27-Jun-2014 |
Phil Carmody <phil@dovecot.fi> |
lib: make printf_format_fix safer against shadowed %m behaviour
If there's a %m followed by a %n or %m, then the %n or %m won't be seen.
For %m, that's mostly harmless, but for %n it's potentially kaboom.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |