~ubuntu-branches/ubuntu/breezy/koffice/breezy-security

« back to all changes in this revision

Viewing changes to lib/kformula/basicelement.cc

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-10-11 14:49:50 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051011144950-lwpngbifzp8nk0ds
Tags: 1:1.4.1-0ubuntu7
* SECURITY UPDATE: fix heap based buffer overflow in the RTF importer of KWord
* Opening specially crafted RTF files in KWord can cause
  execution of abitrary code.
* Add kubuntu_01_rtfimport_heap_overflow.diff
* References:
  CAN-2005-2971
  CESA-2005-005
  http://www.koffice.org/security/advisory-20051011-1.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
}
167
167
 
168
168
 
169
 
QDomElement BasicElement::getElementDom(QDomDocument& doc)
 
169
QDomElement BasicElement::getElementDom( QDomDocument& doc)
170
170
{
171
171
    QDomElement de = doc.createElement(getTagName());
172
172
    writeDom(de);
174
174
}
175
175
 
176
176
 
177
 
void BasicElement::writeMathML( QDomDocument doc, QDomNode parent )
 
177
void BasicElement::writeMathML( QDomDocument& doc, QDomNode parent, bool oasisFormat )
178
178
{
179
179
    parent.appendChild( doc.createComment( QString( "MathML Error in %1" )
180
180
                                           .arg( getTagName() ) ) );