]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/index.c
Silently restrict index_intlen to 4-255.
[openldap] / servers / slapd / index.c
index f4590ccf83acd35e45e6ee201ccfd990436571d8..d25def048d9cd0570a546fdfeb275d0b38bb4538 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <ac/string.h>
+#include <lutil.h>
 
 #include "slap.h"