search for: memerror

Displaying 1 result from an estimated 1 matches for "memerror".

2004 Jan 01
1
[PATCH] Add winbind-backed NTLMSSP support to Cyrus-SASL
...*str, unsigned *outlen, - int unicode, u_char *base, unsigned msglen) -{ - uint16 len = 0; - - UINT16_FROM_INTEL(buf->len, len); - if (len) { - uint32 offset = 0; + context->child_pid = fork(); - *str = utils->malloc(len + 1); /* add 1 for NUL */ - if (*str == NULL) { - MEMERROR(utils); - return SASL_NOMEM; + if (context->child_pid == -1) { + syslog(LOG_DEBUG, "fork_child: Could not fork\n"); + utils->seterror(utils->conn, 0, "Could not fork\n"); + return SASL_FAIL; } - UINT32_FROM_INTEL(buf->offset, offset); + if (context->chi...