oneTBB icon indicating copy to clipboard operation
oneTBB copied to clipboard

Completion of error handling

Open elfring opened this issue 6 years ago • 7 comments

Would you like to add more error handling for return values from functions like the following?

elfring avatar Aug 02 '18 11:08 elfring

It makes sense. Thank you for the report.

alexey-katranov avatar Aug 02 '18 14:08 alexey-katranov

critical_section was removed in oneTBB

anton-potapov avatar Oct 05 '21 12:10 anton-potapov

__itt_mutex_lock is now wrapped too at fini_ittlib.

isaevil avatar Dec 19 '22 09:12 isaevil

:thinking: How does the mentioned “wrapping” improve the reported software situation?

elfring avatar Dec 19 '22 09:12 elfring

You are right, sorry. I didn't notice that return value handling is still unchanged. Notify @ekovanova. The return value is still unchecked for __itt_mutex_lock at https://github.com/intel/ittapi/blob/master/src/ittnotify/ittnotify_static.c#L139

isaevil avatar Dec 19 '22 09:12 isaevil

@isaevil is this issue still relevant?

arunparkugan avatar Aug 13 '24 11:08 arunparkugan

How do you think about to improve static source code analysis also for this software? :thinking:

elfring avatar Aug 13 '24 14:08 elfring