All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] scan-build fixes
@ 2020-12-26 21:35 Alex Henrie
  2020-12-26 21:35 ` [PATCH 1/9] conf: fix use after free in _snd_config_load_with_include Alex Henrie
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Alex Henrie @ 2020-12-26 21:35 UTC (permalink / raw)
  To: alsa-devel, perex, tiwai; +Cc: Alex Henrie

These defects were identified by scan-build
<https://clang-analyzer.llvm.org/scan-build.html>.

I hope that drawing attention to the problems helps even if you decide
to fix some of them in different ways than I am proposing.

Happy holidays!

-Alex

Alex Henrie (9):
  conf: fix use after free in _snd_config_load_with_include
  ucm: fix bad frees in get_list0 and get_list20
  rawmidi: fix memory leak in snd_rawmidi_virtual_open
  confmisc: fix memory leak in snd_func_concat
  timer: fix sizeof operator mismatch in snd_timer_query_hw_open
  pcm: remove dead assignments from
    snd_pcm_rate_(commit_area|grab_next_period)
  pcm_multi: remove dead assignment from _snd_pcm_multi_open
  pcm: fix undefined bit shift in bad_pcm_state
  conf: remove dead code from get_hexachar

 include/pcm.h              |  4 +++-
 src/conf.c                 | 13 ++++---------
 src/confmisc.c             |  2 +-
 src/pcm/pcm.c              |  2 ++
 src/pcm/pcm_local.h        |  2 +-
 src/pcm/pcm_multi.c        |  1 -
 src/pcm/pcm_rate.c         |  2 --
 src/rawmidi/rawmidi_virt.c |  3 ++-
 src/timer/timer_query_hw.c |  2 +-
 src/ucm/main.c             |  4 ++--
 10 files changed, 16 insertions(+), 19 deletions(-)

-- 
2.29.2.368.ge46b91665e.dirty


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

end of thread, other threads:[~2020-12-28  1:47 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 21:35 [PATCH 0/9] scan-build fixes Alex Henrie
2020-12-26 21:35 ` [PATCH 1/9] conf: fix use after free in _snd_config_load_with_include Alex Henrie
2020-12-27  8:38   ` Takashi Iwai
2020-12-26 21:35 ` [PATCH 2/9] ucm: fix bad frees in get_list0 and get_list20 Alex Henrie
2020-12-27  8:38   ` Takashi Iwai
2020-12-26 21:35 ` [PATCH 3/9] rawmidi: fix memory leak in snd_rawmidi_virtual_open Alex Henrie
2020-12-27  8:38   ` Takashi Iwai
2020-12-26 21:35 ` [PATCH 4/9] confmisc: fix memory leak in snd_func_concat Alex Henrie
2020-12-27  8:26   ` Takashi Iwai
2020-12-28  1:45     ` Alex Henrie
2020-12-26 21:35 ` [PATCH 5/9] timer: fix sizeof operator mismatch in snd_timer_query_hw_open Alex Henrie
2020-12-27  8:39   ` Takashi Iwai
2020-12-26 21:35 ` [PATCH 6/9] pcm: remove dead assignments from snd_pcm_rate_(commit_area|grab_next_period) Alex Henrie
2020-12-27  8:39   ` Takashi Iwai
2020-12-26 21:35 ` [PATCH 7/9] pcm_multi: remove dead assignment from _snd_pcm_multi_open Alex Henrie
2020-12-27  8:39   ` Takashi Iwai
2020-12-26 21:35 ` [PATCH 8/9] pcm: fix undefined bit shift in bad_pcm_state Alex Henrie
2020-12-27  8:34   ` Takashi Iwai
2020-12-27 12:36     ` Jaroslav Kysela
2020-12-28  1:45       ` Alex Henrie
2020-12-26 21:35 ` [PATCH 9/9] conf: remove dead code from get_hexachar Alex Henrie
2020-12-27  8:37   ` Takashi Iwai
2020-12-27 12:25     ` Jaroslav Kysela
2020-12-28  1:42       ` Alex Henrie

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.