VirtualBox

Ignore:
Timestamp:
Oct 8, 2009 10:27:33 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53289
Message:

crOpenGL: remove src ptr assert when memcpy 0 bytes public #5158

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/mem.c

    r15532 r23614  
    115115DECLEXPORT(void) crMemcpy( void *dst, const void *src, unsigned int bytes )
    116116{
    117         CRASSERT(dst);
    118         CRASSERT(src);
     117        CRASSERT(dst || 0==bytes);
     118        CRASSERT(src || 0==bytes);
    119119        (void) memcpy( dst, src, bytes );
    120120}
Note: See TracChangeset for help on using the changeset viewer.

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