Suhas Athani has uploaded this change for review.
Fix Coverity-651244 NEGATIVE_RETURNS in fs_reclaim_complete
- Handle negative returns from fs_make_path() in fs_reclaim_complete()
before indexing path.
- Replaces assert(dstpos > 0), which is compiled out under NDEBUG and
does not prevent the underflow Coverity flagged (CID 651244).
Change-Id: Ied0cd524c145890244829a0900e5efe5316d5460
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/SAL/recovery/recovery_fs.c
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/77/1251377/1
To view, visit change 1251377. To unsubscribe, or for help writing mail filters, visit settings.