Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librlist: fix uninitialized error text in rlist_alloc()
Problem: In some cases, rlist_alloc() leaves errp->text uninitialized when returning an error. This can lead the caller to access unitialized bytes, potentially causing a crash. Always use errprintf() before returning an error from this function.
- Loading branch information