[vlc-devel] commit: qt4: fix buffer overflow. ( Rémi Duraffort )

git version control git at videolan.org
Mon Jan 4 10:45:59 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jan  4 10:43:47 2010 +0100| [7d0bde36219899071693e0a0fc1a22e93ec79f9f] | committer: Rémi Duraffort 

qt4: fix buffer overflow.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d0bde36219899071693e0a0fc1a22e93ec79f9f
---

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 03a075c..67949b6 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -560,7 +560,7 @@ void MainInterface::createTaskBarButtons()
             // image list and also provide tooltips.
             DWORD dwMask = THB_BITMAP | THB_FLAGS;
 
-            THUMBBUTTON thbButtons[2];
+            THUMBBUTTON thbButtons[3];
             thbButtons[0].dwMask = dwMask;
             thbButtons[0].iId = 0;
             thbButtons[0].iBitmap = 0;




More information about the vlc-devel mailing list