mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 20:07:41 +00:00
defect 746
return INVALID_PARAM in saCkptSectionIterationInitialize if address is NULL git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@764 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
950c62c4db
commit
1f6be061f8
@ -1168,6 +1168,9 @@ saCkptSectionIterationInitialize (
|
||||
struct req_lib_ckpt_sectioniteratorinitialize req_lib_ckpt_sectioniteratorinitialize;
|
||||
struct res_lib_ckpt_sectioniteratorinitialize res_lib_ckpt_sectioniteratorinitialize;
|
||||
|
||||
if (sectionIterationHandle == 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