Displaying 1 result from an estimated 1 matches for "nullptr_check".
2014 May 11
1
Segfault with passwd as a second userdb at auth_fields_rollback
...l/ast.../jkonczak
mail maildir:~/.maildir
So now virtual users get vmail uid/gid, system users get their uid/gid, home
is fine etc.
Below I attach the patch + full config.
Regards,
Jan Ko?czak
===============================================
$ cat SOURCES/dovecot-2.2.12-auth_fields_rollback-nullptr_check.patch
--- src/auth/auth-fields.c.orig 2014-05-11 16:17:49.755258666 +0200
+++ src/auth/auth-fields.c 2014-05-11 16:18:24.704946586 +0200
@@ -207,6 +207,7 @@
void auth_fields_rollback(struct auth_fields *fields)
{
+ if (fields==NULL) return;
if (array_is_created(&fields->...