Issue 8234 - ppolicy_get can return a partly-populated struct
Summary: ppolicy_get can return a partly-populated struct
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 01:42 UTC by Ryan Tandy
Modified: 2015-11-30 18:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ryan Tandy 2015-09-02 01:42:55 UTC
Full_Name: Ryan Tandy
Version: master
OS: 
URL: 
Submission from: (NULL) (24.68.37.4)
Submitted by: ryan


In ppolicy_get, if parsing fails after some attributes have already been loaded,
we can return a partly populated structure, while the warning says "using
default policy". In this case we should revert the entire structure to defaults
before returning, IMO.
Comment 1 Ryan Tandy 2015-09-02 02:21:33 UTC
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Ryan Tandy 2015-09-02 20:18:56 UTC
changed notes
Comment 3 Quanah Gibson-Mount 2015-09-11 17:00:37 UTC
changed notes
changed state Test to Release
Comment 4 OpenLDAP project 2015-11-30 18:21:16 UTC
fixed in master
fixed in RE25
fixed in RE24
Comment 5 Quanah Gibson-Mount 2015-11-30 18:21:16 UTC
changed notes
changed state Release to Closed