Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
128a8ebb
Commit
128a8ebb
authored
15 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#6303
parent
9021cfa2
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
servers/slapd/back-ldif/ldif.c
+3
-3
3 additions, 3 deletions
servers/slapd/back-ldif/ldif.c
with
4 additions
and
3 deletions
CHANGES
+
1
−
0
View file @
128a8ebb
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-ldif/ldif.c
+
3
−
3
View file @
128a8ebb
...
...
@@ -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(
&
bvl
ist) 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment