033e315cc9396332a09b98bee7824b8e6641c2fc |
|
15-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: safe_mkstemp*() didn't always truncate prefix back to original on failure.
This caused repeated safe_mkstemp*() calls with the same prefix to keep
increasing its size. It probably didn't really break anything (unless it was
called enough many times to reach 255 filename length), but the filenames
were still confusingly ugly. |