All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH v2 0/3] libxl: Fixes for libxl_xenconsole_readline()
@ 2024-08-23 17:05 Javi Merino
  2024-08-23 17:05 ` [XEN PATCH v2 1/3] libxl: Fix nul-termination of the return value of libxl_xen_console_read_line() Javi Merino
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Javi Merino @ 2024-08-23 17:05 UTC (permalink / raw)
  To: xen-devel
  Cc: jbeulich, andrew.cooper3, Javi Merino, Anthony PERARD,
	Juergen Gross

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-09-02 16:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 17:05 [XEN PATCH v2 0/3] libxl: Fixes for libxl_xenconsole_readline() Javi Merino
2024-08-23 17:05 ` [XEN PATCH v2 1/3] libxl: Fix nul-termination of the return value of libxl_xen_console_read_line() Javi Merino
2024-08-27 15:20   ` Anthony PERARD
2024-09-02 14:55     ` Javi Merino
2024-08-29 15:53   ` Roger Pau Monné
2024-08-30 19:22     ` Andrew Cooper
2024-09-02  7:50       ` Roger Pau Monné
2024-09-02 15:03         ` Javi Merino
2024-08-23 17:05 ` [XEN PATCH v2 2/3] libxl: Remove unnecessary buffer zeroing and zalloc() Javi Merino
2024-08-27 15:21   ` Anthony PERARD
2024-08-23 17:05 ` [XEN PATCH v2 3/3] libxl: Update the documentation of libxl_xen_console_read_line() Javi Merino
2024-08-23 17:31   ` Andrew Cooper
2024-09-02 16:16     ` Javi Merino
2024-08-27 15:26   ` Anthony PERARD
2024-09-02 16:19     ` Javi Merino
2024-09-02 10:14   ` Alejandro Vallejo
2024-09-02 15:08     ` Javi Merino

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.