]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/util-int.c
Fix attribute description checks
[openldap] / libraries / libldap / util-int.c
index ffd221408188583f5ed92d32ba69f32e78ef8ad8..15d92b685ecf063eb89b02ccca8e4c4f2647891d 100644 (file)
@@ -92,8 +92,8 @@ char *ldap_pvt_ctime( const time_t *tp, char *buf )
 #endif 
 }
 
-#define BUFSTART 1024
-#define BUFMAX (32*1024)
+#define BUFSTART (1024-32)
+#define BUFMAX (32*1024-32)
 
 static char *safe_realloc( char **buf, int len );