Displaying 2 results from an estimated 2 matches for "array_is_created".
2014 May 11
1
Segfault with passwd as a second userdb at auth_fields_rollback
...th_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->snapshot_fields)) {
array_clear(&fields->fields);
array_append_array(&fields->fields, &fields->snapshot_fields);
===============================================
$ dovecot --version
2.2.12
$ doveconf # passdb/userdb/auth related...
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi,
I have rewritten the patches I submitted earlier today for the CVS
HEAD. Some of the changes were already committed months ago.
On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote:
> That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it
> is mostly because I wanted to keep bsearch() API. If it can't return
> void * then maybe it could be