httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56209] Uninitialised variables in os/win32/ap_regkey.c
Date Mon, 03 Mar 2014 18:44:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56209

Flavio Medeiros <flaviomotamedeiros@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Flavio Medeiros <flaviomotamedeiros@gmail.com> ---
For example: in function (ap_regkey_open) we have the following code:

#if APR_HAS_UNICODE_FS
    IF_WIN_OS_IS_UNICODE
    {
        // code
    }
#endif /* APR_HAS_UNICODE_FS */
#if APR_HAS_ANSI_FS
    ELSE_WIN_OS_IS_ANSI
    {
        // code
    }
#endif

I believe that we have problems if we define APR_HAS_ANSI_FS without
APR_HAS_UNICODE_FS. Also, we have uninitialised variables if we do not define
any of them.

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


Mime
View raw message