[XEN PATCH v2 0/3] libxl: Fixes for libxl_xenconsole_readline()

Javi Merino posted 3 patches 2 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1724430173.git.javi.merino@cloud.com
There is a newer version of this series
tools/libs/light/libxl_console.c  | 40 ++++++++++++++++++-------------
tools/libs/light/libxl_internal.h |  1 -
2 files changed, 24 insertions(+), 17 deletions(-)
[XEN PATCH v2 0/3] libxl: Fixes for libxl_xenconsole_readline()
Posted by Javi Merino 2 months, 4 weeks ago
Fix nul-termination of the return value of
libxl_xen_console_read_line().  While at it, remove unneeded memset()s
to the buffer and improve the documentation of the function.

Changes since v1[0]:
  - Add Fixes: line to the first patch
  - Remove cr->count from the struct and make it a local variable in
    libxl_xen_console_read_line()
  - Improve the documentation of libxl_xen_console_read_line()

[0] https://lore.kernel.org/xen-devel/ad7c89bbae34155566ae7c9ca2cb501f21c7d585.1724330921.git.javi.merino@cloud.com/

Javi Merino (3):
  libxl: Fix nul-termination of the return value of
    libxl_xen_console_read_line()
  libxl: Remove unnecessary buffer zeroing and zalloc()
  libxl: Update the documentation of libxl_xen_console_read_line()

 tools/libs/light/libxl_console.c  | 40 ++++++++++++++++++-------------
 tools/libs/light/libxl_internal.h |  1 -
 2 files changed, 24 insertions(+), 17 deletions(-)

-- 
2.45.2