1. 07 10月, 2014 1 次提交
    • D
      ASoC: soc-dapm: fix use after free · e5092c96
      Daniel Mack 提交于
      Coverity spotted the following possible use-after-free condition in
      dapm_create_or_share_mixmux_kcontrol():
      
      If kcontrol is NULL, and (wname_in_long_name && kcname_in_long_name)
      validates to true, 'name' will be set to an allocated string, and be
      freed a few lines later via the 'long_name' alias. 'name', however,
      is used by dev_err() in case snd_ctl_add() fails.
      
      Fix this by adding a jump label that frees 'long_name' at the end of
      the function.
      Signed-off-by: NDaniel Mack <daniel@zonque.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Cc: stable@vger.kernel.org
      e5092c96
  2. 06 10月, 2014 17 次提交
  3. 05 10月, 2014 3 次提交
  4. 04 10月, 2014 8 次提交
  5. 03 10月, 2014 11 次提交