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

« back to all changes in this revision

Viewing changes to kspread/kspread_factory.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:
24
24
#include <kstandarddirs.h>
25
25
#include <kdebug.h>
26
26
 
27
 
extern "C"
28
 
{
29
 
    void* init_libkspreadpart()
30
 
    {
31
 
        return new KSpreadFactory;
32
 
    }
33
 
}
 
27
K_EXPORT_COMPONENT_FACTORY( libkspread, KSpreadFactory )
34
28
 
35
29
KInstance* KSpreadFactory::s_global = 0;
36
30
DCOPObject* KSpreadFactory::s_dcopObject = 0;