summaryrefslogtreecommitdiff
path: root/keypair.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-10 23:53:28 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-11 00:02:40 +0200
commitbdb9efef8991396b6c77e669a140965c91bb8558 (patch)
treed1344b5af39d65846d074dd82185893cddaff030 /keypair.h
parent3990796bbb2a122f7f25ca1a399928c9197e5174 (diff)
oui: Make parsing of oui.conf more robust
In the unlikely case of the oui.conf file not conforming to the required format (e.g. by the user supplying one by himself), we would end up - in the worst case dereferencing a null pointer, if the condiition (ptr = strstr(buff, ", ")) is false. Thus make the entire parsing a bit more robust and just ignore lines not following the required format. The null pointer dereference was found by the Coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'keypair.h')
0 files changed, 0 insertions, 0 deletions
4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into fixes
UniPhier ARM SoC fixes for v4.9 - Add "select ARCH_HAS_RESET_CONTROLLER" in Kconfig - Rename wrongly-named mioctrl to sdctrl * tag 'uniphier-fixes-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier: arm64: dts: uniphier: change MIO node to SD control node ARM: dts: uniphier: change MIO node to SD control node reset: uniphier: rename MIO reset to SD reset for Pro5, PXs2, LD20 SoCs arm64: uniphier: select ARCH_HAS_RESET_CONTROLLER ARM: uniphier: select ARCH_HAS_RESET_CONTROLLER Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree')