Merged changes from 3.14 branch, revno 12514

This commit is contained in:
Andrew Johnson committed 2015-02-04 11:43:23 -06:00
commit 9316233ba2
2 files changed
+2 -1

No files matched your search

@@ -14,6 +14,7 @@
#IOS_DEPLOYMENT_TARGET = 6.1
IOS_DEPLOYMENT_TARGET = 7.0
#IOS_DEPLOYMENT_TARGET = 8.0
#IOS_DEPLOYMENT_TARGET = 8.1
# Which compiler to use:
+1 -1
View File
@@ -1353,7 +1353,7 @@ gddStatus gdd::put ( const gdd * dd )
// clip to upper limit of source
aitUint32 srcCopySize;
const aitUint32 unusedSrcBelow = srcCopyFirst - srcFirst;
if ( srcElemCount <= unusedSrcBelow ) {
if ( srcElemCount && srcElemCount <= unusedSrcBelow ) {
return gddErrorOutOfBounds;
}