Hide Forgot
Description of problem: cppcheck reports some errors that may (or may not) be critical Version-Release number of selected component (if applicable): libtiff-3.9.4-5.el6_2 How reproducible: always Steps to Reproduce: 1. rpm -i libtiff-3.9.4-5.el6_2.src.rpm 2. rpmbuild -bp ~/rpmbuild/SPECS/libtiff.spec 3. cppcheck -f -v --quiet ~/rpmbuild/BUILD/tiff-3.9.4/ Actual results: [/root/rpmbuild/BUILD/tiff-3.9.4/contrib/dbs/tiff-grayscale.c:89]: (error) Memory leak: gray [/root/rpmbuild/BUILD/tiff-3.9.4/contrib/dbs/tiff-palette.c:222]: (error) Memory leak: red [/root/rpmbuild/BUILD/tiff-3.9.4/contrib/dbs/tiff-palette.c:222]: (error) Memory leak: green [/root/rpmbuild/BUILD/tiff-3.9.4/contrib/dbs/tiff-palette.c:222]: (error) Memory leak: blue [/root/rpmbuild/BUILD/tiff-3.9.4/contrib/iptcutil/iptcutil.c:297]: (error) Memory leak: str [/root/rpmbuild/BUILD/tiff-3.9.4/tools/fax2ps.c:384]: (error) Possible null pointer dereference: fd - otherwise it is redundant to check if fd is null at line 382 [/root/rpmbuild/BUILD/tiff-3.9.4/tools/fax2ps.c:342]: (error) Common realloc mistake: 'pages' nulled but not freed upon failure [/root/rpmbuild/BUILD/tiff-3.9.4/tools/ras2tiff.c:93]: (error) Resource leak: in [/root/rpmbuild/BUILD/tiff-3.9.4/tools/tiff2pdf.c:1955]: (error) Possible null pointer dereference: tbc [/root/rpmbuild/BUILD/tiff-3.9.4/tools/tiff2pdf.c:1839]: (error) Possible null pointer dereference: sbc [/root/rpmbuild/BUILD/tiff-3.9.4/tools/tiff2pdf.c:1846]: (error) Possible null pointer dereference: sbc [/root/rpmbuild/BUILD/tiff-3.9.4/tools/tiff2ps.c:1892]: (error) Possible null pointer dereference: tf_buf - otherwise it is redundant to check if tf_buf is null at line 1893 [/root/rpmbuild/BUILD/tiff-3.9.4/tools/tiffcrop.c:2057]: (error) Dangerous usage of 'exportname' (strncpy doesn't always 0-terminate it) Expected results: (no errors) Additional info:
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com/