[Openmp-commits] [PATCH] D26318: Added check for malloc return

Andrey Churbanov via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 8 10:44:27 PST 2016


AndreyChurbanov accepted this revision.
AndreyChurbanov added a reviewer: AndreyChurbanov.
AndreyChurbanov added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: runtime/src/kmp_i18n.c:839
                 size *= 2;
                 buffer = (char *) KMP_INTERNAL_MALLOC( size );
                 rc = strerror_r( err, buffer, size );
----------------
Please add same check here as well.


https://reviews.llvm.org/D26318





More information about the Openmp-commits mailing list