[U-Boot] [PATCHv6 09/28] net: core: Sanitize get/set operations for enetaddr
Tom Rini
trini at konsulko.com
Mon May 15 12:52:31 UTC 2017
On Mon, May 15, 2017 at 10:02:25AM +0200, Olliver Schinagl wrote:
> In the current net stack, we have a few functions to get and set
> the "ethaddr" and "ethNaddr" environment variables, which use magic
> values to get and set these environment variables. Remove the magicness
> of the buffer by defining it proper and also check the input for its
> length.
>
> Additionally use the define in fdt parser where the ethaddr variables
> are also used.
>
> Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170515/ceb2eee9/attachment.sig>
More information about the U-Boot
mailing list