commit | b9b144bcafbdd53f68e227968009327b76db08a4 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Thu Apr 06 06:55:22 2017 -0700 |
committer | James Morris <james.l.morris@oracle.com> | Fri Apr 07 08:58:36 2017 +1000 |
tree | c42d597bf9be9d796fd323e4847795d1adf0e562 | |
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>