|
@@ -626,6 +626,12 @@ saCkptCheckpointOpenAsync (
|
|
|
if (((checkpointOpenFlags & SA_CKPT_CHECKPOINT_CREATE) == 0) &&
|
|
if (((checkpointOpenFlags & SA_CKPT_CHECKPOINT_CREATE) == 0) &&
|
|
|
checkpointCreationAttributes != NULL) {
|
|
checkpointCreationAttributes != NULL) {
|
|
|
|
|
|
|
|
|
|
+ failWithError = SA_AIS_ERR_INVALID_PARAM;
|
|
|
|
|
+ } else
|
|
|
|
|
+ if (checkpointCreationAttributes &&
|
|
|
|
|
+ (checkpointCreationAttributes->checkpointSize >
|
|
|
|
|
+ (checkpointCreationAttributes->maxSections * checkpointCreationAttributes->maxSectionSize))) {
|
|
|
|
|
+
|
|
|
failWithError = SA_AIS_ERR_INVALID_PARAM;
|
|
failWithError = SA_AIS_ERR_INVALID_PARAM;
|
|
|
}
|
|
}
|
|
|
|
|
|