mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-06 03:23:02 +00:00
defect 710
if ioVector == NULL in checkpoint read error should be returned git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@748 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
f9e2657a9a
commit
3946f75662
@ -1327,6 +1327,10 @@ saCkptCheckpointWrite (
|
||||
struct iovec iov[3];
|
||||
int iov_len = 0;
|
||||
|
||||
if (ioVector == 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