This is an archive of the discontinued LLVM Phabricator instance.

Bugfix for segfault in stubs library
ClosedPublic

Authored by tlwilmar on Jun 20 2016, 12:36 PM.

Details

Summary

There was a segfault in the stubs library in posix_memalign because
of a bad parameter. The fix is to send address of the pointer as a
parameter. Also added check of result of posix_memalign.

Patch by Andrey Churbanov.

Diff Detail

Repository
rL LLVM

Event Timeline

tlwilmar updated this revision to Diff 61289.Jun 20 2016, 12:36 PM
tlwilmar retitled this revision from to Bugfix for segfault in stubs library.
tlwilmar updated this object.
tlwilmar added reviewers: jlpeyton, hbae.
tlwilmar set the repository for this revision to rL LLVM.
tlwilmar added a subscriber: openmp-commits.
hbae accepted this revision.Jun 20 2016, 12:59 PM
hbae edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jun 20 2016, 12:59 PM
This revision was automatically updated to reflect the committed changes.