diff options
author | Helmut Raiger <helmut.raiger@hale.at> | 2011-08-22 00:17:17 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-09 21:58:47 (GMT) |
commit | 7e7f903fcd7883d3646223e3cb30b50a7dfe6248 (patch) | |
tree | c8c1b3aa1dfec9534d1b9f90aa858fdd54222ba5 /common | |
parent | 24e1664472deef23abb3246da8573ddefc0c7971 (diff) | |
download | u-boot-7e7f903fcd7883d3646223e3cb30b50a7dfe6248.tar.xz |
net/eth.c: throw BUG for eth_get_dev_by_name(NULL)
eth_get_dev_by_name() is not safe to use for devname being NULL
as it uses strcmp. This patch makes it fail with a BUG().
Signed-off-by: Helmut Raiger <helmut.raiger@hale.at>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions