Hello, I noticed that source code like “printed += fprintf(fp, …)” is used in some function implementations. https://elixir.bootlin.com/linux/v6.10/source/tools/perf/builtin-script.c#L697 I find that return values should be checked somehow at 63 places. See also: * https://cwe.mitre.org/data/definitions/252.html * https://wiki.sei.cmu.edu/confluence/display/c/POS54-C.+Detect+and+handle+POSIX+library+errors Regards, Markus