diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-06-02 18:15:25 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-06-03 09:07:55 -0400 |
commit | 4a77c3dead97339478c7422eb07bf4bf63577008 (patch) | |
tree | b62cb2c16c365df73819f2098033157648a70ec2 /net/ax25/ax25_ip.c | |
parent | 8d915bbf39266bb66082c1e4980e123883f19830 (diff) |
SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
The in_token->pages[] array is not NULL terminated. This results in
the following KASAN splat:
KASAN: maybe wild-memory-access in range [0x04a2013400000008-0x04a201340000000f]
Fixes: bafa6b4d95d9 ("SUNRPC: Fix gss_free_in_token_pages()")
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/ax25/ax25_ip.c')
0 files changed, 0 insertions, 0 deletions