FuzzerUtilDarwin.cpp: We need to pass modifiable strings to posix_spawn
authorMatthias Braun <matze@braunis.de>
Fri, 7 Jul 2017 18:53:24 +0000 (18:53 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 7 Jul 2017 18:53:24 +0000 (18:53 +0000)
commitaf7442abd0ad9b06235eb6a7b6b926de126934d1
tree15867e795bd8b73148ffa61fc48a6656e9a8924a
parent448dea419c6cf01e5d692b58ebc36ad5453d2d8f
FuzzerUtilDarwin.cpp: We need to pass modifiable strings to posix_spawn

This fixes a bug where unmodifiable strings where passed to posix_spawn.

This is an attempt to unbreak the greendragon libFuzzer bot.

llvm-svn: 307424
llvm/lib/Fuzzer/FuzzerUtilDarwin.cpp