pick fix segfault
authorPhilipp Takacs <philipp@bureaucracy.de>
Wed, 2 Jan 2019 15:14:21 +0000 (16:14 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Wed, 2 Jan 2019 15:14:21 +0000 (16:14 +0100)
commit1a1646dc54cace9984b36a1c12e1831d51fa89f1
tree9605dc96bc57b8189bd0c6ae892a6dd2b4455486
parent76e95977668d89054ced87fc7d379464713e2ee9
pick fix segfault

pick now copy the static memory which is later freed.
Also fix the access to uninitialized variable in getthreadid().
Thanks c_14 for reporting.
sbr/getthreadid.c
test/tests/pick/test-thread [new file with mode: 0644]
test/tests/pick/test-thread-without-msgid [new file with mode: 0644]
uip/pick.c