VirtualBox

Ignore:
Timestamp:
Oct 17, 2018 4:58:38 PM (6 years ago)
Author:
vboxsync
Message:

3D: Memory allocations fixed, bugref:9251. Merged changes r125768, r125779, r125780, r125812.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:mergeinfo
      •  

        old new  
        88/branches/VBox-5.0:104445,104938,104943,104950,104952-104953,104987-104988,104990,106453
        99/branches/VBox-5.1:112367,115992,116543,116550,116568,116573
        10 /branches/VBox-5.2:120083,120099,120213,120221,120239,123597-123598,123600-123601,123755
         10/branches/VBox-5.2:120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,125768,125779-125780,125812
        1111/branches/andy/draganddrop:90781-91268
        1212/branches/andy/guestctrl20:78916,78930
  • trunk/src/VBox

    • Property svn:mergeinfo
      •  

        old new  
        88/branches/VBox-5.0/src/VBox:104938,104943,104950,104987-104988,104990,106453
        99/branches/VBox-5.1/src/VBox:112367,116543,116550,116568,116573
        10 /branches/VBox-5.2/src/VBox:120083,120099,120213,120221,120239,123597-123598,123600-123601,123755
         10/branches/VBox-5.2/src/VBox:120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,125768,125779-125780,125812
        1111/branches/andy/draganddrop/src/VBox:90781-91268
        1212/branches/andy/guestctrl20/src/VBox:78916,78930
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_pixel.c

    r70601 r74890  
    343343void STATE_APIENTRY crStatePixelMapusv (GLenum map, GLint mapsize, const GLushort * values)
    344344{
    345     GLfloat fvalues[CR_MAX_PIXEL_MAP_TABLE];
    346     GLint i;
     345    if (mapsize < 0 || mapsize > CR_MAX_PIXEL_MAP_TABLE)
     346    {
     347        crError("crStatePixelMapusv: parameter 'mapsize' is out of range");
     348        return;
     349    }
    347350
    348351    if (!crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB))
    349352    {
     353        GLfloat fvalues[CR_MAX_PIXEL_MAP_TABLE];
     354        GLint i;
     355
    350356        if (map==GL_PIXEL_MAP_I_TO_I || map==GL_PIXEL_MAP_S_TO_S) {
    351357           for (i=0;i<mapsize;i++) {
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