Skip to content

lib/paper.c: fix leak of file descriptors#1

Closed
deekej wants to merge 1 commit intonaota:masterfrom
deekej:bugfix/fix-file-descriptor-leak
Closed

lib/paper.c: fix leak of file descriptors#1
deekej wants to merge 1 commit intonaota:masterfrom
deekej:bugfix/fix-file-descriptor-leak

Conversation

@deekej
Copy link
Copy Markdown

@deekej deekej commented Mar 9, 2018

When the /etc/papersize was not containing a valid paper size/format, the systempapername() function would return without properly closing the /etc/papersize, thus leaking a file descriptor...

This issue was causing a test failure for ImageMagick:
ImageMagick/ImageMagick#948

  When the /etc/papersize was not containing a valid paper size/format,
  the systempapername() function would return without properly closing
  the /etc/papersize, thus leaking a file descriptor...

  This issue was causing a test failure for ImageMagick:
  ImageMagick/ImageMagick#948
@deekej
Copy link
Copy Markdown
Author

deekej commented May 7, 2020

The upstream appears to be a dead-project, unfortunately... :-/

@deekej deekej closed this May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant