|
Bugzilla – Full Text Bug Listing |
| Summary: | ghostscript-library-8.62-61.15: call to wrong C++ delete | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | David Binderman <dcb314> |
| Component: | Other | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Report this *upstream* ... This file is not compiled nor used in any other way. |
I just checked some of the source code in the Suse Linux factory package ghostscript-library-8.62-61.15 and I noticed the following $ egrep "new|delete" ../BUILD/ghostscript-8.62/Omni/DeviceFontSandBox/XmlFile.cpp fileName = new char[1+strlen(path)]; * The destructor deletes the xml DOM tree and its rootNode pointer. delete fileName; Suggest change call to delete to delete [] fileName; fileName = NULL;