ASoC: snprintf() usage fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ASoC: intel: skl: Fix pin debug printssound/ | +3 | 1 reply | |
| 2/3 | ASoC: intel: skl: Fix possible buffer overflow in debug outputssound/ | +14 | 1 reply | |
| 3/3 | ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs outputsound/ | +8 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Cezary Rojewski |
|---|---|
| Series | A-b |
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] ASoC: snprintf() usage fixes
Hi,
this is a series of patches I spotted during debugging other code. Intel skl and ASoC PCM core invokes succeeding calls of snprintf() with the incorrect expectation of the return value, which may lead to a buffer overflow.
The first patch is yet another bug I found during working on this, and it's rather a real bug that can be seen clearly.
Takashi
===
Takashi Iwai (3):
ASoC: intel: skl: Fix pin debug prints
ASoC: intel: skl: Fix possible buffer overflow in debug outputs
ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output
sound/soc/intel/skylake/skl-debug.c | 32 +++++++++++++++++--------------- sound/soc/soc-pcm.c | 16 ++++++++-------- 2 files changed, 25 insertions(+), 23 deletions(-)
Signature · 1 line
2.16.4