Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonFactory.createGenerator() with File may leak OutputStreams #764

Closed
cowtowncoder opened this issue Jun 11, 2022 · 0 comments
Closed

JsonFactory.createGenerator() with File may leak OutputStreams #764

cowtowncoder opened this issue Jun 11, 2022 · 0 comments
Labels
2.14 Issue planned (at earliest) for 2.14
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: similar to #763 but for output side; based on FasterXML/jackson-databind#3508)

Looks like there is a code path during initialization of OutputStream for managed streams (for java.io.File) which may result in leaked OutputStreams (and related entities like file handles).
It's necessary to ensure that this does not happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.14 Issue planned (at earliest) for 2.14
Projects
None yet
Development

No branches or pull requests

1 participant