From b2145b97d4a6d4bd4a5934e25c420042fe677573 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 19 Jun 2017 21:26:29 +0200 Subject: [PATCH] tests: add a FIXME comment Reading output from child processes should be fixed at some point to ignore printf() format specifiers. Signed-off-by: Bartosz Golaszewski --- tests/gpiod-test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/gpiod-test.c b/tests/gpiod-test.c index cd22765..3571a6d 100644 --- a/tests/gpiod-test.c +++ b/tests/gpiod-test.c @@ -564,6 +564,10 @@ static void gpiotool_readall(int fd, char **out) return; } + /* + * FIXME This may lead to errors if the program prints + * a string containing printf() format specifiers. + */ tmp = xappend(tmp, buf); } } -- 2.30.2