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

Re: commit: ldap/servers/slapd/back-bdb id2entry.c

ando@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-bdb

Modified Files:
	id2entry.c  1.87 ->  1.88

Log Message:
don't dereference NULL pointers (ITS#5676)

Nice catch. But, since txn's are always being used now, you should simply have changed the outer "if (txn)" to "if (boi)".

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