_itoa_word() from window.cpp:1989: Use of uninitialised value of size 8

Bug #1004336 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Medium
Albert Astals Cid
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

==26595== Use of uninitialised value of size 8
==26595== at 0x564A451: _itoa_word (_itoa.c:196)
==26595== by 0x564EFDA: vfprintf (vfprintf.c:1623)
==26595== by 0x570A57F: __vsnprintf_chk (vsnprintf_chk.c:65)
==26595== by 0x4EB3987: compLogMessage(char const*, CompLogLevel, char const*, ...) (stdio2.h:79)
==26595== by 0x4E821B7: compiz::X11::PendingConfigureEvent::dump() (window.cpp:1989)
==26595== by 0x4E83F17: compiz::X11::PendingEventQueue::add(boost::shared_ptr<compiz::X11::PendingEvent>) (window.cpp:1957)
==26595== by 0x4E8B506: PrivateWindow::reconfigureXWindow(unsigned int, XWindowChanges*) (window.cpp:3202)
==26595== by 0x4E8BD9F: CompWindow::configureXWindow(unsigned int, XWindowChanges*) (window.cpp:3489)
==26595== by 0x4E7191A: CompScreenImpl::moveViewport(int, int, bool) (screen.cpp:3937)
==26595== by 0xFB3BEFF: ExpoScreen::finishWindowMovement() (expo.cpp:273)
==26595== by 0xFB3C0E7: ExpoScreen::dndFini(CompAction*, unsigned int, std::vector<CompOption, std::allocator<CompOption> >&) (expo.cpp:71)
==26595== by 0x4E9FACF: compiz::private_screen::EventManager::triggerRelease(CompAction*, unsigned int, std::vector<CompOption, std::allocator<CompOption> >&) (function_template.hpp:1013)
==26595==

Related branches

Changed in compiz:
milestone: 0.9.8.0 → 0.9.8.1
Changed in compiz:
milestone: 0.9.8.2 → 0.9.8.4
Revision history for this message
Albert Astals Cid (aacid) wrote :

Using track-origins i got

==24099== Use of uninitialised value of size 8
==24099== at 0x57BA411: _itoa_word (_itoa.c:196)
==24099== by 0x57BEF9A: vfprintf (vfprintf.c:1623)
==24099== by 0x57E5DB1: vsnprintf (vsnprintf.c:120)
==24099== by 0x4FD76B9: compLogMessage(char const*, CompLogLevel, char const*, ...) (logmessage.cpp:78)
==24099== by 0x4F7CB56: compiz::X11::PendingConfigureEvent::dump() (window.cpp:1990)
==24099== by 0x4F7C9EB: compiz::X11::PendingEventQueue::add(boost::shared_ptr<compiz::X11::PendingEvent>) (window.cpp:1958)
==24099== by 0x4F815A8: PrivateWindow::reconfigureXWindow(unsigned int, XWindowChanges*) (window.cpp:3203)
==24099== by 0x4F82C6C: CompWindow::configureXWindow(unsigned int, XWindowChanges*) (window.cpp:3490)
==24099== by 0x4F4D552: CompScreenImpl::moveViewport(int, int, bool) (screen.cpp:3948)
==24099== by 0xE700332: WallScreen::moveViewport(int, int, unsigned long) (wall.cpp:465)
==24099== by 0xE701A91: WallScreen::initiateFlip(WallScreen::Direction, unsigned int) (wall.cpp:860)
==24099== by 0xE715C64: boost::_mfi::mf2<bool, WallScreen, WallScreen::Direction, unsigned int>::operator()(WallScreen*, WallScreen::Direction, unsigned int) const (mem_fn_template.hpp:280)
==24099== Uninitialised value was created by a stack allocation
==24099== at 0x4F4D20A: CompScreenImpl::moveViewport(int, int, bool) (screen.cpp:3908)

Changed in compiz:
assignee: nobody → Albert Astals Cid (aacid)
status: Triaged → In Progress
Changed in compiz:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.2 KiB)

This bug was fixed in the package compiz - 1:0.9.8.2+bzr3377-0ubuntu1

---------------
compiz (1:0.9.8.2+bzr3377-0ubuntu1) quantal-proposed; urgency=low

  [ Sam Spilsbury ]
  * debian/python-compizconfig.install
    - Install compizconfig-python.pc
  * debian/patches/100_expo_layout.patch
    - re-add the expo layout that used to be in precise (LP: #1047067)
    - add some testcases

  [ Timo Jyrinki ]
  * New upstream snapshot.
    - Fix multiple window placement bugs (LP: #974242) (LP: #976032)
    - Don't waste CPU looping through and looking at all the windows if you're
      rendering an output that has no damage on it. (LP: #1014986)
    - Updated convert files to fix some typos in the key names. (LP: #1041631)
    - Fix crash when imgsvg is loaded, due to missing symbol
      (decor_apply_gravity from libdecoration). (LP: #956986)
    - Treat unresolved symbols at link time as an error, rather than letting
      them through and cause strange crashes later. (LP: #1043143)
    - Refactors a little bit of the upgrade code and gets it under test to
      prepare to fix (LP: #1042537)
    - Updated AUTHORS from the full bzr log, and re-sort the list.
      (LP: #1042095)
    - Fixes FTBFS for kde4-window-decorator (LP: #1041310)
    - Fix obvious omissions from the introduction of unminimize_*,
      which were causing the unminimize animation settings to be ignored
      (LP: #1040455)
    - resize plugin: don't crash if resize wasn't initiated externally
      (LP: #1045191)
    - Clean up capitalization (LP: #1045652)
    - Avoid division by zero, if plugins try to deform a window down to size
      zero. (LP: #1045235)
    - Make "Unredirect Fullscreen Windows" more reliable. This fixes the
      problem with unredirection failing to engage at all (LP: #1041066) when
      gtk-window-decorator creates offscreen windows that are stacked on top.
      This also fixes the problem with unredirect hiding all windows,
      because it thinks the desktop window should be stacked on top
      (LP: #980663).
    - Ensure unredirected windows don't stay unredirected if they're no longer
      on top. (LP: #1041047)
    - Fix launching terminal functionality and make show-hud default key
      visible. Update the defaults to org.compiz.integrated to reflect the
      actual gnome values pre-gnome-3. (LP: #1040081) (LP: #1046199)
      (LP: #1046190)
    - Fix show-hud, bump COMPIZ_GNOME_INTEGRATED_SETTINGS_LIST_SIZE.
      (LP: #1046212)
    - Fixed: Windows with an alpha-channel, like gnome-terminal, were not
      being considered as possibly covering fullscreen windows. But they most
      certainly can. This ensures such RGBA windows are visible if they're
      stacked above a fullscreen window. (LP: #1046661)
    - Remove ListToStringList (LP: #1046184)
    - Fix typo causing CMake Error (LP: #1045665)
    - Transitions gtk-window-decorator over to use GSettings. Add a testing
      framework for the options code. (LP: #1042323)
    - Also need kdeworkspace since kdecorationbridge.h is there
      (LP: #1046770)
    - Implements some cleanup that was suggested on the merge for the original
      port to gsettings. Other issues fixed as wel...

Read more...

Changed in compiz (Ubuntu):
status: New → Fix Released
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.