[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8234) ppolicy_get can return a partly-populated struct



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.