[unixODBC-dev] _check_ini_cache Regression

Joshua Colp jcolp at digium.com
Thu Jun 2 17:06:54 BST 2016

Nick Gorham wrote:


>> if ( nRetBuffer < ini_cache -> buffer_size )
>> continue;
> Yes, I would agree with you. TBH, the code is a bit odd there anyway, as
> the size of the buffer is less important than the size of the string
> that will be placed into it. But I think your fix should do the job. Let
> me know how you get on and I will make the change permanent it it works
> as expected.

Thanks for the quick response! My testing so far has shown it to resolve 
the issue and performance has returned to what it was before the change.

Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the unixODBC-dev mailing list