[Bug 198819] New: [regression] bluetoothctl commands containing newlines are no longer parsed and executed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=198819

            Bug ID: 198819
           Summary: [regression] bluetoothctl commands containing newlines
                    are no longer parsed and executed
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.13.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Bluetooth
          Assignee: linux-bluetooth@xxxxxxxxxxxxxxx
          Reporter: daniel.van.vugt@xxxxxxxxxxxxx
        Regression: No

This problem was encountered in python-dbusmock which tries to pipe multiple
commands into bluetoothctl:

    out, err = process.communicate(input='list\n' + command + '\nquit\n')

This worked in bluetootctl for bluez 5.46 but no longer works in 5.48.

TEST CASE:

echo 'list^Mshow' | bluetoothctl

where ^M can be typed as either carriage return (Ctrl-V Ctrl-M) or line feed
(Ctrl-V Ctrl-J).

Expected: Both commands 'list' and 'show' are executed.
Observed: Only 'list' is executed in bluez 5.48.

-- 
You are receiving this mail because:
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux