diff options
author | John Johansen <john.johansen@canonical.com> | 2017-04-06 06:55:22 -0700 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-04-07 08:58:36 +1000 |
commit | b9b144bcafbdd53f68e227968009327b76db08a4 (patch) | |
tree | c42d597bf9be9d796fd323e4847795d1adf0e562 /drivers/regulator/wm831x-isink.c | |
parent | 9814448da7a84dd50b69e4ada2d7d1c042493daf (diff) |
apparmor: fix invalid reference to index variable of iterator line 836
Once the loop on lines 836-853 is complete and exits normally, ent is a
pointer to the dummy list head value. The derefernces accessible from eg
the goto fail on line 860 or the various goto fail_lock's afterwards thus
seem incorrect.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'drivers/regulator/wm831x-isink.c')
0 files changed, 0 insertions, 0 deletions