Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP3:Update
slurm.32296
U_23-Use-safe_xmalloc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_23-Use-safe_xmalloc.patch of Package slurm.32296
From: Tim Wickberg <tim@schedmd.com> Date: Wed Nov 29 15:43:19 2023 -0700 Subject: [PATCH 23/28]Use safe_xmalloc(). Patch-mainline: Upstream Git-repo: https://github.com/SchedMD/slurm Git-commit: a880d1091c7c4eb48833f9ffa1d7b40efba7f1be References: bsc#1218046, bsc#1218050, bsc#1218051, bsc#1218053 Signed-off-by: Egbert Eich <eich@suse.de> --- src/common/pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pack.c b/src/common/pack.c index dcfa809a41..ca0fb4cf0f 100644 --- a/src/common/pack.c +++ b/src/common/pack.c @@ -912,7 +912,7 @@ int unpackmem_xmalloc(char **valp, uint32_t * size_valp, Buf buffer) if (remaining_buf(buffer) < *size_valp) goto unpack_error; - *valp = xmalloc_nz(*size_valp); + safe_xmalloc(*valp, *size_valp); memcpy(*valp, &buffer->head[buffer->processed], *size_valp); buffer->processed += *size_valp;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor