Fix: initialize getline linesize argument to 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Oct 2015 18:44:05 +0000 (14:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 14 Oct 2015 20:17:59 +0000 (16:17 -0400)
commit31058f2840830ee86babe42dcc037c1907103b37
treea6f2db780735ebab705b0077097ffcef255a3309
parent0530d28fcff65b067999fe0c917b9d9294745caf
Fix: initialize getline linesize argument to 0

It works by accident because getline() reallocates based on the initial
pointer, but doing this falls into a blind spot of the Linux man pages.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
converter/babeltrace-log.c
This page took 0.023917 seconds and 4 git commands to generate.