Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/syntaxes
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28241
Modified Files:
bin.c
Log Message:
Resolves: 459433
Summray: MMR: intensive conflict test crashes the server
Description: values2keys functions in the syntax plugin did not check the
existence of the input and output variable.
Index: bin.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/syntaxes/bin.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- bin.c 10 Nov 2006 23:45:31 -0000 1.5
+++ bin.c 5 Dec 2008 23:57:49 -0000 1.6
@@ -186,6 +186,14 @@
{
int i;
+ if (NULL == ivals) {
+ return 1;
+ }
+ *ivals = NULL;
+ if (NULL == bvals) {
+ return 1;
+ }
+
if ( ftype != LDAP_FILTER_EQUALITY ) {
return( LDAP_PROTOCOL_ERROR );
}
Show replies by date