[PATCH 0/6] util: virerror: Avoid stack'd buffers for error message formatting

Ján Tomko jtomko at redhat.com
Thu Mar 4 16:53:18 UTC 2021


On a Tuesday in 2021, Peter Krempa wrote:
>We don't need OOM resiliency nowadays.
>
>Peter Krempa (6):
>  util: virerror: Don't use stack'd buffers in error report helpers
>  util: virerror: Avoid a copy of the error messages
>  util: virprocess: Use local maximum error message size
>  qemuProcessReportLogError: Remove unnecessary math for max error
>    message
>  qemuProcessReportLogError: Don't mark "%s: %s" as translatable
>  util: virerror: Remove VIR_ERROR_MAX_LENGTH macro
>
> src/qemu/qemu_process.c |  12 +--
> src/util/virerror.c     | 188 ++++++++++++++++++++++------------------
> src/util/virerror.h     |   2 -
> src/util/virprocess.c   |  10 ++-
> 4 files changed, 116 insertions(+), 96 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210304/acb4f2e1/attachment-0001.sig>


More information about the libvir-list mailing list