Skip to content

ALSA: Fix yet more bugs reported by Sashiko

Takashi Iwai linux-sound lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/27 patches 4 repliesIn review
  2. v3 posting 1/28 patches 0 repliesSuperseded
  3. v2 posting 2/27 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/28 patches0 repliesSuperseded
v15 patches0 repliesSuperseded

Changes in v3 from the cover letter

- avoid copying garbage (patch 1)
- add card->shutdown check (patch 4)

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ALSA: seq: Fix missing direction and ump_group handling in 32bit compat ioctlsound/core/seq/seq_compat.c+11 -40 replies
2/7ALSA: pcmtest: Fix leak at probe errorsound/drivers/pcmtest.c+10 -560 replies
3/7ALSA: pcmtest: Use platform_device_register_simple()sound/drivers/pcmtest.c+10 -130 replies
4/7ALSA: info: Fix memory leak at card removalsound/core/info.c+2 -10 replies
5/7ALSA: aloop: Avoid a bad mixure of guard() and gotosound/drivers/aloop.c+9 -20 replies
6/7ALSA: core: Fix leaks at snd_card_init() error pathssound/core/init.c+7 -70 replies
7/7ALSA: seq: Don't lose partial read failuresound/core/seq/seq_clientmgr.c+3 -34 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/7] ALSA: Fix yet more bugs reported by Sashiko

Hi,

here is yet another series of bug fixes for low-handing fruis that have been reported by Sashiko recently as the existing bugs.

While reviewing the previous patchset, yet another issues were discovered, so we fix them here, too.

Takashi

v1: https://lore.kernel.org/[email protected]
v2: https://lore.kernel.org/[email protected]

v1->v2:
- pcmtest leak fix was refactored significantly (patch 2)
- A simplification for pcmtest device is added (patch 3)
- A new fix for memory leak for proc handler (patch 4)
- The fix for aloop goto was done differently (patch 5)

v2->v3:
- avoid copying garbage (patch 1)
- add card->shutdown check (patch 4)

===

 sound/core/info.c              |  3 +-
 sound/core/init.c              | 14 +++---
 sound/core/seq/seq_clientmgr.c |  6 +--
 sound/core/seq/seq_compat.c    | 15 ++++--
 sound/drivers/aloop.c          | 11 ++++-
 sound/drivers/pcmtest.c        | 87 ++++++++--------------------------
 6 files changed, 51 insertions(+), 85 deletions(-)
Signature · 1 line
2.55.0