output_thread: 0xdeadbeef write 4 bytes, not 8 on 32bit machine
Previously, 0xdeadbeef written to worker task pipe causing
segfault on worker shutdown. Task of 0x00000000 address is invalid.
@@ -509,7 +509,7 @@ int flb_output_thread_pool_coros_size(struct flb_output_instance *ins)
void flb_output_thread_pool_destroy(struct flb_output_instance *ins)
{
int n;
- uint64_t stop = 0xdeadbeef;
+ struct flb_task *stop = 0xdeadbeef;
struct flb_tp *tp = ins->tp;
struct mk_list *head;
struct flb_out_thread_instance *th_ins;
