Package: src:leafnode
Version: 1.11.7.rel-2
Severity: normal
Tags: patch

In fetchnews.c in function getbody_newno it looks like f is closed in
all circumstances. However this is not the case. This function can
therefore leak filedescriptors.

When it fails to fopen g it leaves f open, but exits the function via a
goto getbody_tail. This is a rare case, but can be easily fixed by
inserting the missing fclose.

Helmut



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to