mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 23:43:19 +00:00
defect 742
error not returned in saCkptSectionCreate if sectionCreationAttributes == NULL git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@760 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
461da3d514
commit
2beb76decd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user