UBUNTU: SAUCE: opennsl: bcm-knet: check for null sinfo to avoid a null pointer dereference
BugLink: https://launchpad.net/bugs/1718388 sinfo can potentially be null, so add a null check to avoid a null pointer deference on sinfo->info_id. Detected by CoverityScan CID#1456902 ("Dereference before null check") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Juerg Haefliger <juerg.haefliger@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> [kleber: adapted for new version path] Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Showing
Please register or sign in to comment