commit | d04565b622f8191be2718bc7557c8826a2819a43 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri May 09 14:59:16 2014 +0300 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:22 2020 +0200 |
tree | e2094228770202efdc6778d6a612d652ee73ceb2 | |
parent | 89d5a22e15e6414ef225353ecf0d9d2b469fa9d3 [diff] |
applicom: dereferencing NULL on error path commit 8bab797c6e5724a43b7666ad70860712365cdb71 upstream. This is a static checker fix. The "dev" variable is always NULL after the while statement so we would be dereferencing a NULL pointer here. Fixes: 819a3eba4233 ('[PATCH] applicom: fix error handling') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>