Issue 8625 - Separate tavl and avl types
Summary: Separate tavl and avl types
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.5.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 08:55 UTC by Ondřej Kuzník
Modified: 2020-10-14 21:09 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 Ondřej Kuzník 2017-03-29 08:55:09 UTC
Full_Name: Ondrej Kuznik
Version: master
OS: 
URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170329a-Separate-Avlnode-and-TAvlnode-types.patch
Submission from: (NULL) (2a02:c7f:2247:ec00:a3e:8eff:fe52:dac5)


Since it is not safe to run any of the avl_* functions on a tavl node, it would
be useful to separate the types to prevent hard to diagnose issues caused by a
simple typo.

The provided patch against master separates the two types and adjusts the tavl
users.
Comment 1 Ondřej Kuzník 2017-03-29 12:46:35 UTC
After a brief review by Howard, there's a new patch available at
ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170329c-Separate-Avlnode-and-TAvlnode-types.patch

The attached patch file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following
patch(es) were developed by Ondřej Kuzník <okuznik@symas.com>. I have
not assigned rights and/or interest in this work to any party.

The attached modifications to OpenLDAP Software are subject to the
following notice:

Copyright 2017, Ondřej Kuzník <okuznik@symas.com>, Symas Corporation
Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP Public
License. 

Comment 2 Quanah Gibson-Mount 2017-04-03 16:18:23 UTC
changed notes
moved from Incoming to Software Enhancements
Comment 3 OpenLDAP project 2017-09-08 22:14:21 UTC
Added to master
Comment 4 Quanah Gibson-Mount 2017-09-08 22:14:21 UTC
changed notes
changed state Open to Test