~ubuntu-branches/ubuntu/hardy/vlc/hardy

« back to all changes in this revision

Viewing changes to modules/gui/skins2/x11/x11_window.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-06-25 01:53:37 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20070625015337-9jqzr0atij6hzxnp
Tags: 0.8.6.release.c-0ubuntu1
* SECURITY UPDATE: Format string injection in multiple plugins could
  lead to arbitrary code execution and/or DoS.
* New upstream security and bugfix release, 0.8.6c (LP: #121511).
* References
  CVE-2007-0256
  CVE-2007-3316
* debian/patches/: Remove 020_flac.diff and 030_CVE-2007-0017.diff
  (subsumed by new upstream release).
* debian/vlc-nox.install: Add libtelx_plugin.so (fixes FTBFS).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * x11_window.cpp
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2003 the VideoLAN team
5
 
 * $Id: x11_window.cpp 14118 2006-02-01 18:06:48Z courmisch $
 
5
 * $Id: x11_window.cpp 19664 2007-04-04 14:29:10Z courmisch $
6
6
 *
7
7
 * Authors: Cyril Deguet     <asmax@via.ecp.fr>
8
8
 *          Olivier Teulière <ipkiss@via.ecp.fr>
76
76
        unsigned long flags;
77
77
        unsigned long functions;
78
78
        unsigned long decorations;
79
 
        long input_mode;
 
79
        signed   long input_mode;
80
80
        unsigned long status;
81
81
    } motifWmHints;
82
82
    Atom hints_atom = XInternAtom( XDISPLAY, "_MOTIF_WM_HINTS", False );
84
84
    motifWmHints.decorations = 0;
85
85
    XChangeProperty( XDISPLAY, m_wnd, hints_atom, hints_atom, 32,
86
86
                     PropModeReplace, (unsigned char *)&motifWmHints,
87
 
                     sizeof( motifWmHints ) / sizeof( long ) );
 
87
                     sizeof( motifWmHints ) / sizeof( uint32_t ) );
88
88
 
89
89
    // Drag & drop
90
90
    if( m_dragDrop )