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

« back to all changes in this revision

Viewing changes to filters/kword/ascii/ImportDialog.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:
1
 
// $Header: /home/kde/koffice/filters/kword/ascii/ImportDialog.h,v 1.3 2002/12/31 12:30:29 goutte Exp $
 
1
// $Header$
2
2
 
3
3
/*
4
4
   This file is part of the KDE project
5
 
   Copyright (C) 2001, 2002 Nicolas GOUTTE <goutte@kde.org>
 
5
   Copyright (C) 2001, 2002, 2004 Nicolas GOUTTE <goutte@kde.org>
6
6
 
7
7
   This library is free software; you can redistribute it and/or
8
8
   modify it under the terms of the GNU Library General Public
24
24
#define _IMPORT_DIALOG_H
25
25
 
26
26
#include <qwidget.h>
27
 
#include <qlabel.h>
28
 
#include <qlayout.h>
29
 
#include <qradiobutton.h>
30
 
#include <qvbuttongroup.h>
31
 
#include <qcombobox.h>
32
27
 
33
28
#include <kdialogbase.h>
34
29
 
44
39
    int getParagraphStrategy(void) const;
45
40
private:
46
41
    ImportDialogUI* m_dialog;
47
 
private slots:
48
 
    void comboBoxEncodingActivated(int);
49
42
};
50
43
 
51
44
#endif /* _IMPORT_DIALOG_H */