This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Tool] Fix buffer overflow in ompt-multiplex.h
ClosedPublic

Authored by protze.joachim on Jun 24 2020, 4:37 AM.

Details

Summary

The code failed to allocate memory for the terminating 0-byte.

Reported by: @ronlieb

Diff Detail

Event Timeline

protze.joachim created this revision.Jun 24 2020, 4:37 AM

thanks for the quick response, lgtm.

ronlieb accepted this revision.Jun 26 2020, 3:23 PM

LGTM, please commit

This revision is now accepted and ready to land.Jun 26 2020, 3:23 PM
This revision was automatically updated to reflect the committed changes.