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

Re: (ITS#6731) Scrambled error strings from back-ldif



h.b.furuseth@usit.uio.no wrote:
> Full_Name: Hallvard B Furuseth
> Version: 2.4.23
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (193.157.203.245)
> Submitted by: hallvard
>
>
> apply_modify_to_entry() and ldif_back_add() can return with
> rs->sr_text pointing into the stack, at textbuf[].  Fixing.
>
It is not an error in ldif_back_add() since rs->sr_text is only used by 
send_ldap_result(). Its value upon return from ldif_back_add is irrelevant.


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/