apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59817] New: Potentially uninitialized variable in apr_iconv_euc_convert_to_ucs()
Date Thu, 07 Jul 2016 11:21:13 GMT

            Bug ID: 59817
           Summary: Potentially uninitialized variable in
           Product: APR
           Version: 1.5.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: APR-iconv
          Assignee: bugs@apr.apache.org
          Reporter: marc.stern@approach.be

In apr_iconv_euc_convert_to_ucs(), the variable 'ptr' may be uninitialized on
line 177.

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@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message