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

« back to all changes in this revision

Viewing changes to karbon/shapes/vrectangle.h

  • 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:
21
21
#define __VRECTANGLE_H__
22
22
 
23
23
#include "vcomposite.h"
 
24
#include <koffice_export.h>
24
25
 
25
 
class VRectangle : public VPath
 
26
class KARBONBASE_EXPORT VRectangle : public VPath
26
27
{
27
28
public:
28
29
        VRectangle( VObject* parent, VState state = edit );
32
33
        virtual QString name() const;
33
34
 
34
35
        virtual void save( QDomElement& element ) const;
 
36
        virtual void saveOasis( KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles ) const;
35
37
        virtual void load( const QDomElement& element );
 
38
        virtual bool loadOasis( const QDomElement &element, KoOasisContext &context );
36
39
 
37
40
protected:
38
41
        void init();