Skip to content

firmware: few fixes for name uses

Luis R. Rodriguez linux-wireless lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v25 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4firmware: fix __getname() missing failure checkdrivers/base/firmware_class.c+5 -10 replies
2/4firmware: check for file truncation on direct firmware loadingdrivers/base/firmware_class.c+7 -20 replies
3/4firmware: fix possible use after free on name on asynchronous requestdrivers/base/firmware_class.c+5 -10 replies
4/4firmware: use const for remaining firmware namesdrivers/base/firmware_class.c+28 -120 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/4] firmware: few fixes for name uses

From: "Luis R. Rodriguez" <[email protected]>

This v3 changes patch 1 to just return -ENOMEM and remove the unlikely() optimization. It also drops the early truncation checks.

Luis R. Rodriguez (4):
firmware: fix __getname() missing failure check
firmware: check for file truncation on direct firmware loading
firmware: fix possible use after free on name on asynchronous request
firmware: use const for remaining firmware names

 drivers/base/firmware_class.c | 61 +++++++++++++++++++++++++++++++------------
 1 file changed, 45 insertions(+), 16 deletions(-)
Signature · 1 line
2.3.2.209.gd67f9d5.dirty