Skip to content
Snippets Groups Projects
Commit 128a8ebb authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6303

parent 9021cfa2
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.19 Engineering
Fixed slapd tools to allow -n for conversion (ITS#6258)
Fixed slapd-ldif buffer overflow (ITS#6303)
Fixed slapo-dynlist lock leak (ITS#6308)
Fixed slapo-pcache cache corruption (ITS#6242)
Fixed slapo-sssvlv sort control dereferencing (ITS#6288)
......
......@@ -593,9 +593,9 @@ typedef struct bvlist {
char *trunc; /* filename was truncated here */
int inum; /* num from "attr={num}" in filename, or INT_MIN */
char savech; /* original char at *trunc */
char fname; /* variable length array BVL_NAME(bvl) = &fname */
# define BVL_NAME(bvl) ((char *) (bvl) + offsetof(bvlist, fname))
# define BVL_SIZE(namelen) (sizeof(bvlist) + (namelen))
/* BVL_NAME(&bvlist) is the filename, allocated after the struct: */
# define BVL_NAME(bvl) ((char *) ((bvl) + 1))
# define BVL_SIZE(namelen) (sizeof(bvlist) + (namelen) + 1)
} bvlist;
static int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment