Re: [PATCH 4.19 19/32] tipc: Avoid copying bytes beyond the supplied data

From: Pavel Machek
Date: Tue Jun 04 2019 - 03:53:25 EST


Hi!

> From: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
>
> TLV_SET is called with a data pointer and a len parameter that tells us
> how many bytes are pointed to by data. When invoking memcpy() we need
> to careful to only copy len bytes.

This one misses upstream commit id. AFAICT, patch is upstream and hash is

9bbcdb07a53549ed072f03a88a5012e939a64c01

Best regards,
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature