diff --git a/lib/ckpt.c b/lib/ckpt.c index c24b219e..0d09fd72 100644 --- a/lib/ckpt.c +++ b/lib/ckpt.c @@ -957,6 +957,10 @@ saCkptSectionCreate ( struct req_lib_ckpt_sectioncreate req_lib_ckpt_sectioncreate; struct res_lib_ckpt_sectioncreate res_lib_ckpt_sectioncreate; + if (sectionCreationAttributes == NULL) { + return (SA_AIS_ERR_INVALID_PARAM); + } + error = saHandleInstanceGet (&checkpointHandleDatabase, checkpointHandle, (void *)&ckptCheckpointInstance); if (error != SA_AIS_OK) {