mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-27 05:17:35 +00:00
defect 677
SectionOverwrite with null sectionId segfaults git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@734 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
56bda7982b
commit
c1044ae100
@ -1406,6 +1406,10 @@ saCkptSectionOverwrite (
|
||||
return (SA_ERR_INVALID_PARAM);
|
||||
}
|
||||
|
||||
if (sectionId == NULL) {
|
||||
return (SA_ERR_INVALID_PARAM);
|
||||
}
|
||||
|
||||
error = saHandleInstanceGet (&checkpointHandleDatabase, checkpointHandle,
|
||||
(void *)&ckptCheckpointInstance);
|
||||
if (error != SA_AIS_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user