Skip to content

shared/shell: Fix SIGSEGV on invalid input

Wouter linux-bluetooth 2 versions Applied

Status from this message: This patch was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyApplied
  2. v11 patch 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/1shared/shell: Fix SIGSEGV on invalid inputsrc/shared/shell.c+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH BlueZ v2 0/1] shared/shell: Fix SIGSEGV on invalid input

I have updated the patch according to feedback received earlier today. The valgrind input has been attached as a commit message, and checks are now applied further down the callstack rather than at the source.

--

In bluetoothctl when entering a space followed by a tab the CLI crashes with a segfault. This patch fixes the user input handling.

Wouter (1):
shared/shell: Fix SIGSEGV on invalid input

 src/shared/shell.c | 6 ++++++
 1 file changed, 6 insertions(+)
Signature · 1 line
2.53.0