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

Re: (ITS#4998) overlays/ppolicy.c: invalid pointer due to free() of unallocated buffer



msl@calivia.com wrote:
> Full_Name: Michael Steinmann
> Version: 2.3.35 / HEAD
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (80.254.173.218)
> 
> 
> This is while testing a custom pwdCheckModule.
> In function check_password_quality(), char *txt is free()'d, slapd crashes with
> "invalid pointer".

The code works as designed (and as documented). Re-read the 
slapo-ppolicy(5) manpage. This ITS will be closed.
-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/