Title: Potential Memory Leak in StringExtensions.ToMD5Hash · Issue #158 · stackify/stackify-api-dotnet · GitHub
Open Graph Title: Potential Memory Leak in StringExtensions.ToMD5Hash · Issue #158 · stackify/stackify-api-dotnet
X Title: Potential Memory Leak in StringExtensions.ToMD5Hash · Issue #158 · stackify/stackify-api-dotnet
Description: The MD5 instance created in the ToMD5Hash method is not disposed of, potentially leading to a memory leak. stackify-api-dotnet/Src/StackifyLib/Utils/StringExtensions.cs Line 21 in 57ec215 MD5 md5 = System.Security.Cryptography.MD5.Create...
Open Graph Description: The MD5 instance created in the ToMD5Hash method is not disposed of, potentially leading to a memory leak. stackify-api-dotnet/Src/StackifyLib/Utils/StringExtensions.cs Line 21 in 57ec215 MD5 md5 =...
X Description: The MD5 instance created in the ToMD5Hash method is not disposed of, potentially leading to a memory leak. stackify-api-dotnet/Src/StackifyLib/Utils/StringExtensions.cs Line 21 in 57ec215 MD5 md5 =...
Opengraph URL: https://github.com/stackify/stackify-api-dotnet/issues/158
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Potential Memory Leak in StringExtensions.ToMD5Hash","articleBody":"The `MD5` instance created in the `ToMD5Hash` method is not disposed of, potentially leading to a memory leak.\r\n\r\nhttps://github.com/stackify/stackify-api-dotnet/blob/57ec215a3a9d701780d7df0e4e31da636e9843f7/Src/StackifyLib/Utils/StringExtensions.cs#L21\r\n\r\n**Suggested Fix:** Use a using statement to ensure the MD5 instance is properly disposed.","author":{"url":"https://github.com/jgador","@type":"Person","name":"jgador"},"datePublished":"2024-12-29T02:40:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/158/stackify-api-dotnet/issues/158"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e96e9c7a-8777-10c3-1c3a-905a50f7887a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB22:F5443:8AB9A2B:BDFEE91:6973B277 |
| html-safe-nonce | a67ab336b8172fd0e6e6a4c115bb57965800abb2ee42e97b99be6ec66f8b464c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjIyOkY1NDQzOjhBQjlBMkI6QkRGRUU5MTo2OTczQjI3NyIsInZpc2l0b3JfaWQiOiI4NzkwMzI2NTY2NTI1ODQyMDM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 694a3ddd7b28c80d26b248101210029bca360b982cda4f092d9b0e3fb94338e8 |
| hovercard-subject-tag | issue:2762078249 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackify/stackify-api-dotnet/158/issue_layout |
| twitter:image | https://opengraph.githubassets.com/441fd87e21fc69dc7451d5999736744d287d1431007fb0f96c4021ffc731d5e0/stackify/stackify-api-dotnet/issues/158 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/441fd87e21fc69dc7451d5999736744d287d1431007fb0f96c4021ffc731d5e0/stackify/stackify-api-dotnet/issues/158 |
| og:image:alt | The MD5 instance created in the ToMD5Hash method is not disposed of, potentially leading to a memory leak. stackify-api-dotnet/Src/StackifyLib/Utils/StringExtensions.cs Line 21 in 57ec215 MD5 md5 =... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jgador |
| hostname | github.com |
| expected-hostname | github.com |
| None | c583cf2a26ee9c2cb1cb0fab5c726ed6719c2c4c87fc0c7c38069132f28faf12 |
| turbo-cache-control | no-preview |
| go-import | github.com/stackify/stackify-api-dotnet git https://github.com/stackify/stackify-api-dotnet.git |
| octolytics-dimension-user_id | 3323157 |
| octolytics-dimension-user_login | stackify |
| octolytics-dimension-repository_id | 26443472 |
| octolytics-dimension-repository_nwo | stackify/stackify-api-dotnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26443472 |
| octolytics-dimension-repository_network_root_nwo | stackify/stackify-api-dotnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 53344dea98f729e752d2fa6a8cba0f99032ced49 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width