Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
slurm
U_28-Now-using-xmalloc-so-string-is-already-NUL...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_28-Now-using-xmalloc-so-string-is-already-NUL-terminated.patch of Package slurm
From: Tim Wickberg <tim@schedmd.com> Date: Wed Nov 29 15:55:12 2023 -0700 Subject: [PATCH 28/28]Now using xmalloc(), so string is already NUL-terminated. Patch-mainline: Upstream Git-repo: https://github.com/SchedMD/slurm Git-commit: 2d32c6667eb231cc3748be6c490d88d0ad44ca4b References: bsc#1218046, bsc#1218050, bsc#1218051, bsc#1218053 Signed-off-by: Egbert Eich <eich@suse.de> --- src/common/pack.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/pack.c b/src/common/pack.c index 101c504f17..2e27ff01ec 100644 --- a/src/common/pack.c +++ b/src/common/pack.c @@ -1037,9 +1037,6 @@ int unpackstr_xmalloc_escaped(char **valp, uint32_t *size_valp, Buf buffer) *copy++ = tmp; } - /* Since we used xmalloc_nz, terminate the string. */ - *copy++ = '\0'; - /* add the original value since that is what we processed */ buffer->processed += cnt;
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