1. Currently code is doing close even if it is failed to open,
which is wrong so fixing the same.
2. if file open is failed just return from there, no need of
next operations.
3. Use mmap address only after validation.
Issue is reported by static checker tool.
Reported-by: Ajeet Yadav
1. Currently code is doing close even if it is failed to open,
which is wrong so fixing the same.
2. if file open is failed just return from there, no need of
next operations.
3. Use mmap address only after validation.
Issue is reported by static checker tool.
Reported-by: Ajeet Yadav
2 matches
Mail list logo