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

« back to all changes in this revision

Viewing changes to karbon/widgets/vselecttoolbar.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:
38
38
        setCaption( i18n( "Object Properties" ) );
39
39
        QLabel *x_label = new QLabel( i18n( "X:" ), this, "kde toolbar widget" );
40
40
        insertWidget( 0, x_label->width(), x_label );
41
 
        m_x = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
 
41
        m_x = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
42
42
        connect( m_x, SIGNAL( valueChanged( double ) ), this, SLOT( slotXChanged( double ) ) );
43
43
        insertWidget( 1, m_x->width(), m_x );
44
44
        QLabel *y_label = new QLabel( i18n( "Y:" ), this, "kde toolbar widget" );
45
45
        insertWidget( 2, y_label->width(), y_label );
46
 
        m_y = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
 
46
        m_y = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
47
47
        connect( m_y, SIGNAL( valueChanged( double ) ), this, SLOT( slotYChanged( double ) ) );
48
48
        insertWidget( 3, m_y->width(), m_y );
49
49
        
50
50
        insertSeparator( 4 );
51
51
        QLabel *w_label = new QLabel( i18n( "Width:" ), this, "kde toolbar widget" );
52
52
        insertWidget( 5, w_label->width(), w_label );
53
 
        m_width = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
 
53
        m_width = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
54
54
        connect( m_width, SIGNAL( valueChanged( double ) ), this, SLOT( slotWidthChanged( double ) ) );
55
55
        insertWidget( 6, m_width->width(), m_width );
56
56
        QLabel *h_label = new QLabel( i18n( "Height:" ), this, "kde toolbar widget" );
57
57
        insertWidget( 7, h_label->width(), h_label );
58
 
        m_height = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
 
58
        m_height = new KoBuggyUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
59
59
        connect( m_height, SIGNAL( valueChanged( double ) ), this, SLOT( slotHeightChanged( double ) ) );
60
60
        insertWidget( 8, m_height->width(), m_height );
61
61