Bug 59818

Summary: Potentially uninitialized variable in apr_thread_pool.c trim_idle_threads()
Product: APR Reporter: Marc Stern <marc.stern>
Component: APR-iconvAssignee: Apache Portable Runtime bugs mailinglist <bugs>
Status: NEW ---    
Severity: normal CC: brian
Priority: P2    
Version: 1.5.2   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Marc Stern 2016-07-07 11:25:21 UTC
In trim_idle_threads(), the variable 'tail' may be uninitialized on line 849.

1. The flows actually ensure that it is initialized but it's not explicit
2. It generates a warning on some compilers
3. Safe compilers options may prevent the build (ex: /SDL in Visual C++)