You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
malinthar
changed the title
[Bug]: Fix Improper Resource Shutdown or Release in Ballerina 1.2.x
[Task]: Fix Improper Resource Shutdown or Release in Ballerina 1.2.x
Aug 21, 2023
It seems we have already added a fix (with the PR #40330) for this issue. With that fix we made JSONGenerator auto-closeable and users are expected to close the streams if there are any JSONGenerator constructor calls made by them.
Try-with resources can be used for this purpose.
e.g:
The above issue can be mitigated by try-with-resources (or manually call close) if there any constructor call made to JSONGenerator or it can be a false positive. Hence closing the issue.
Description
Need to fix the $subject vulnerability reported in https://docs.google.com/spreadsheets/d/1MAabEyyYwg8PzziDR4XbPJyeCUhKEgFrDrMDYFX9RVM/edit#gid=407096550
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: