Title: Fix ownership issue for string_pointer and buffer overrun issue for string_array. (#472) by CookStar · Pull Request #474 · Source-Python-Dev-Team/Source.Python · GitHub
Open Graph Title: Fix ownership issue for string_pointer and buffer overrun issue for string_array. (#472) by CookStar · Pull Request #474 · Source-Python-Dev-Team/Source.Python
X Title: Fix ownership issue for string_pointer and buffer overrun issue for string_array. (#472) by CookStar · Pull Request #474 · Source-Python-Dev-Team/Source.Python
Description: This fixes the issue(#472) of Python string object pointer being directly set during use of string_pointer and mitigates the problem of buffer overrun when using string_array at instance/pointer_attribute. This change will cause memory leak when using string_pointer if the string is not properly managed, but this is necessary to maintain memory safety in statements such as pointer.set_string_pointer("string").
Open Graph Description: This fixes the issue(#472) of Python string object pointer being directly set during use of string_pointer and mitigates the problem of buffer overrun when using string_array at instance/pointer_at...
X Description: This fixes the issue(#472) of Python string object pointer being directly set during use of string_pointer and mitigates the problem of buffer overrun when using string_array at instance/pointer_at...
Opengraph URL: https://github.com/Source-Python-Dev-Team/Source.Python/pull/474
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4255824d-a967-7095-f23e-784c08221051 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A792:C8498:340CEA7:491A00A:697115F2 |
| html-safe-nonce | b7a144f884a744e9d02dc5acdc7740001755f96858182e1121f2f3a11fd8c8b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzkyOkM4NDk4OjM0MENFQTc6NDkxQTAwQTo2OTcxMTVGMiIsInZpc2l0b3JfaWQiOiI3MDk0MzQyNjM2NzM0MDYwMDE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c87ea2a4769a8043357d111d985ccafa182d23a853319eacc2fe3f9bfab07f12 |
| hovercard-subject-tag | pull_request:1358150244 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/Source-Python-Dev-Team/Source.Python/pull/474/files |
| twitter:image | https://avatars.githubusercontent.com/u/30329245?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/30329245?s=400&v=4 |
| og:image:alt | This fixes the issue(#472) of Python string object pointer being directly set during use of string_pointer and mitigates the problem of buffer overrun when using string_array at instance/pointer_at... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Source-Python-Dev-Team/Source.Python git https://github.com/Source-Python-Dev-Team/Source.Python.git |
| octolytics-dimension-user_id | 5440368 |
| octolytics-dimension-user_login | Source-Python-Dev-Team |
| octolytics-dimension-repository_id | 12771934 |
| octolytics-dimension-repository_nwo | Source-Python-Dev-Team/Source.Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12771934 |
| octolytics-dimension-repository_network_root_nwo | Source-Python-Dev-Team/Source.Python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c16e50bde10edd19f5772e9b3804df6d7bf9bfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width