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:32:47 UTC

[Bug 59819] New: Potentially uninitialized variable in util_expr_eval.c core_expr_lookup()

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

            Bug ID: 59819
           Summary: Potentially uninitialized variable in util_expr_eval.c
                    core_expr_lookup()
           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 util_expr_eval.c core_expr_lookup(), the variable 'prov' may be
uninitialized on line 1721.

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 59819] Potentially uninitialized variable in util_expr_eval.c core_expr_lookup()

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

Szőgyényi Gábor <sz...@freemail.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |szg0000@freemail.hu

-- 
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 59819] Potentially uninitialized variable in util_expr_eval.c core_expr_lookup()

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

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

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

--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
1. No real problem. Either 'prov' is set to something, either we assert and
then abort.
2. Agreed (because of 3. and 4.). Fixed in r1832317

Thanks for the report.

-- 
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 59819] Potentially uninitialized variable in util_expr_eval.c core_expr_lookup()

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal

-- 
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