Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovl: Return -ENOMEM if an allocation fails ovl_lookup()
The error code is missing here so it means we return ERR_PTR(0) or NULL. The other error paths all return an error code so this probably should as well. Fixes: 02b69b2 ("ovl: lookup redirects") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Chandan Rajendra <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
- Loading branch information