On Fri, 5 Dec 2003, Kevin Wang wrote: > In the past a few days, I was trying to figure out a shared memory > corruption problem in my module. Eventually I found this bug in > apr_rmm.c's find_block_of_size() function. It is severe enough to mess > up the whole rmm memory blocks and make apr_rmm_* functions totally not > workable. The source code version I am referring to is 2.0.48.
I stepped through the function on my trust piece of paper ;) to see what was supposed to point where. I agree that both of your changes are correct, so I've committed them to apr-util 0.9.5-dev and apr-util 1.0.0-dev. Thanks! Cliff