You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/07/07 11:43:05 UTC

[Bug 59821] New: Potentially uninitialized variable in server/util_mutex.c ap_dump_mutexes()

https://bz.apache.org/bugzilla/show_bug.cgi?id=59821

            Bug ID: 59821
           Summary: Potentially uninitialized variable in
                    server/util_mutex.c ap_dump_mutexes()
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: marc.stern@approach.be

In ap_dump_mutexes(), the variable 'mech' may be uninitialized on line 558.

1. There could be a real problem
2. In case the flows ensure that it is initialized, it should be explicit
because a modification could break this
3. It generates a warning on some compilers
4. Safe compilers options may prevent the build (ex: /SDL in Visual C++)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59821] Potentially uninitialized variable in server/util_mutex.c ap_dump_mutexes()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59821

Raymundo garfio ponce <po...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |poncegarfio0626@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59821] Potentially uninitialized variable in server/util_mutex.c ap_dump_mutexes()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59821

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
Fixed in r1827783
It will be proposed for backport to 2.4.x soon as a trivial fix.

Thanks for the report (and sorry for the long delay for such an easy issue).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org