This bug was fixed in the package alsa-lib - 1.2.4-1.1ubuntu3.1

---------------
alsa-lib (1.2.4-1.1ubuntu3.1) impish; urgency=medium

  * d/p/0001-ucm-fix-regexec-REG_NOMATCH-state-handling-for-defin.patch
    - ucm: Fix a Regex parser bug, when there is no match, need to
      set err to 0, otherwise, the caller will get a wrong match instead of
      no match. (LP: #1949329)

 -- Hui Wang <hui.w...@canonical.com>  Mon, 01 Nov 2021 15:05:47 +0800

** Changed in: alsa-lib (Ubuntu Impish)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to alsa-lib in Ubuntu.
https://bugs.launchpad.net/bugs/1949329

Title:
  [SRU] alsa-lib: ucm: Regex returns correct value without matching a
  string

Status in HWE Next:
  New
Status in alsa-lib package in Ubuntu:
  Fix Released
Status in alsa-lib source package in Focal:
  Fix Released
Status in alsa-lib source package in Hirsute:
  Fix Released
Status in alsa-lib source package in Impish:
  Fix Released
Status in alsa-lib source package in Jammy:
  Fix Released

Bug description:
  [Impact]
  In the Dell project, we tried to enable the audio on a machine, the machine 
has the soundwire audio design, it needs to load the ucm correctly, then users 
could see the audio devices from gnome. But on this machine, the ucm can't be 
loaded, through debugging, we found this machine has no headset, the Regex 
returns a wrong value when matching "Regex " hs:([a-z0-9]+(-sdca)?)". If let 
Regex returns a correct value, the ucm could be loaded successfully.

  [Fix]
  Backport a commit from upstream, this commit is merged to upstream from v1.2.5

  [Test]
  After installed the patched libasound2, reboot, we could see the ucm is 
loaded succesfully on this machine, and open the gnome-sound-setting, we could 
see the internal mic and internal speaker, and all of them could work normally.

  [Where problems will occur]
  This change affect the Regex parser in the ucm, so if it could introduce 
regression, it will be on the ucm. It could make the audio not work (fail to 
load ucm and users can't see any audio devices from gnome) on the machines 
which need ucm. But this possibility is very low, since this commit is 
backported from upstream and we already tested this backporting on 2 lenovo 
machines and 2 Dell machines which all need ucm to work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1949329/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to