diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-01-18 03:13:21 +0000 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2020-01-18 03:33:33 +0000 |
| commit | c44aa5e8ab58b5f4cf473970ec784c3333496a2e (patch) | |
| tree | 1ebdac6c222f65df90b970fa8e6cc160454adfaf /lib/strncpy_from_user.c | |
| parent | XArray: Fix xa_find_after with multi-index entries (diff) | |
| download | kernel-c44aa5e8ab58b5f4cf473970ec784c3333496a2e.tar.gz kernel-c44aa5e8ab58b5f4cf473970ec784c3333496a2e.zip | |
XArray: Fix xas_find returning too many entries
If you call xas_find() with the initial index > max, it should have
returned NULL but was returning the entry at index.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions
