]> git.sesse.net Git - vlc/commitdiff
qt4: fix buffer overflow.
authorRémi Duraffort <ivoire@videolan.org>
Mon, 4 Jan 2010 09:43:47 +0000 (10:43 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 4 Jan 2010 09:43:47 +0000 (10:43 +0100)
modules/gui/qt4/main_interface.cpp

index 03a075cc4386e9187c63b74798c84c5aeb7faef6..67949b6a4161bce0dc02c73ab40deca376fb7108 100644 (file)
@@ -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;