diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-04-15 21:30:10 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-04-15 21:30:11 -0400 |
commit | 6c05b27e5bafe9f232e7014f4760335f5e3ba591 (patch) | |
tree | 816cd6036cb58b46348dfca6ade3b83f79f8d48c /rts/RtsUtils.c | |
parent | 8a54a4ff5565a2130f5c122ce5368446bfb2f22e (diff) | |
download | haskell-6c05b27e5bafe9f232e7014f4760335f5e3ba591.tar.gz |
linker/mach-o: Catch the case where there is no symCmd
We do check for symCmd, to set the info->nlist value, but
forgot to do the same check for info->names. Thus when trying to
extract stroff from symCmd, we hit a segfault.
Reviewers: bgamari, adinapoli, austin, erikd, simonmar
Reviewed By: bgamari, adinapoli
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3459
Diffstat (limited to 'rts/RtsUtils.c')
0 files changed, 0 insertions, 0 deletions