On 11/24/20 10:41 AM, Mariusz Tkaczyk wrote: > Replace fopen() calls by open() with creation mode directly specified. > This fixes the potential security issue. Use octal values instead masks. > > Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxxxxxxxx> > --- > Monitor.c | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) Applied! Thanks, Jes