VirtualBox

Changeset 59193 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Dec 18, 2015 5:29:47 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: fix a zero-sized memory allocation which was causing plasmashell to crash with debug builds of the Additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/stub.c

    r55626 r59193  
    525525        pWindow->cVisibleRegions = cRects;
    526526
     527        if (cRects == 0)
     528            return GL_TRUE;
     529
    527530        pGLRects = crAlloc(4*cRects*sizeof(GLint));
    528531        if (!pGLRects)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette