Linux kernel bug fix: net: phy: leds: Clear phy_num_led_triggers on failure to avoid crash
Subsystem: drivers/net (drivers/net/phy/phy_led_triggers.c)
Bug type: null-deref, severity: critical
Keywords: null pointer
Files changed: drivers/net/phy/phy_led_triggers.c
Introduced by Zach Brown on 2016-10-18 11:56:31 -0400; fixed by Geert Uytterhoeven on 2017-01-25 14:40:19 -0500 (lifetime: 99 days)