[Date Prev][Date Next]
Eternal while loop in back-bdb/id2entry.c (ITS#2672)
Full_Name: Herman Meerlo
OS: RedHat 9.0
Submission from: (NULL) (22.214.171.124)
During a load test I discovered a bug in the file back-bdb/id2entry.c. This bug
causes the slapd to enter a highload state where it is hogging all cpu states.
Found in OpenLDAP 2.1.22 with BerkeleyDB 4.1.25 backend.
The variable on line 135 should be declared static. Now it is re-initialized to
0 for every iteration of the while loop so it will never exit this loop. I don't
know a reproduction scenario because I found it in the morning in this state
after an allnight test.
Please contact me for any further info needed.