libXaw: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sun Apr 21 15:57:59 PDT 2013
src/AsciiSrc.c | 2 ++
src/MultiSrc.c | 11 ++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
New commits:
commit a30892ed9b6d193f6eb2bab5b37180ac8f63b0b1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Apr 21 15:55:33 2013 -0700
Fix fd leak when write() fails in WriteToFile()
Reported by parfait 1.1 bug checking tool:
File Descriptor Leak: Leaked File Descriptor fd
at line 1098 of src/MultiSrc.c in function 'WriteToFile'.
fd initialized at line 1096 with creat
fd leaks when creat(name, 438) != -1 at line 1096.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 26fb314644fd01928fc881e72e36b2c6bdda5b3b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Apr 21 15:49:33 2013 -0700
Fix fd leak when fdopen() fails in InitStringOrFile()
Found by parfait 1.1p2 bug checking tool:
File Descriptor Leak: Leaked File Descriptor fd
at line 1507 of src/AsciiSrc.c in function 'InitStringOrFile'.
fd initialized at line 1488 with open
fd leaks when open(src->ascii_src.string, open_mode, 438) != -1 at line 1488.
at line 1276 of src/MultiSrc.c in function 'InitStringOrFile'.
fd initialized at line 1257 with open
fd leaks when open(src->multi_src.string, open_mode, 438) != -1 at line 1257.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list