Skip to content

cn: w1: buffer size checks

David Fries lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchEvgeniy Polyakov
SeriesA-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATHC 0/2] cn: w1: buffer size checks

Greg Kroah-Hartman,
These issues were found by Dan Carpenter with a static checker and will check message buffer lengths from userspace or avoid length overflows. Evgeniy Polyakov has given his ack, and they can be applied to the stable branch as well.

[PATCH 1/2] cn: verify msg->len before making callback [PATCH 2/2] w1: avoid potential u16 overflow