| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8087c3eb-6568-91d1-7a63-4d7e6f98860f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD9A:2FA4DF:478765:627248:696E57FB |
| html-safe-nonce | 1f56c74ba2a73c9364f6f80fb54dcff839cd802348e3223513d4e34a1b56781d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDlBOjJGQTRERjo0Nzg3NjU6NjI3MjQ4OjY5NkU1N0ZCIiwidmlzaXRvcl9pZCI6IjIwMjc2NzM5NDc5MDkwMTk2NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ec7ba1360ce34e08690e670a1207bf82dc76edd180666898730af155b1f7086a |
| hovercard-subject-tag | pull_request:2056660681 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/arrayfire/arrayfire/3600/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a1d69d7182fdb5740b531fc984157b80673bacd14ce592dd09836227803d49b9/arrayfire/arrayfire/pull/3600 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a1d69d7182fdb5740b531fc984157b80673bacd14ce592dd09836227803d49b9/arrayfire/arrayfire/pull/3600 |
| og:image:alt | Arrays can now be used as an index for creating an array proxy without failure.
Description
When using an array as an index when creating an array proxy a temporary index object is created and pass... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | christophe-murphy |
| hostname | github.com |
| expected-hostname | github.com |
| None | f68b42d371252b0f236260d6234f4304a806fe5ac43d59faa21fb59d80df103b |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/arrayfire git https://github.com/arrayfire/arrayfire.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 25889802 |
| octolytics-dimension-repository_nwo | arrayfire/arrayfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 25889802 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/arrayfire |
| 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 | 6b74bc8dbcd10b5d69fd9ee9d2cfdc8b35e18a4c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F3600 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F3600 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=arrayfire%2Farrayfire |
| Reload | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
| Reload | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
| Reload | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
|
arrayfire
| https://patch-diff.githubusercontent.com/arrayfire |
| arrayfire | https://patch-diff.githubusercontent.com/arrayfire/arrayfire |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Farrayfire%2Farrayfire |
|
Fork
549
| https://patch-diff.githubusercontent.com/login?return_to=%2Farrayfire%2Farrayfire |
|
Star
4.8k
| https://patch-diff.githubusercontent.com/login?return_to=%2Farrayfire%2Farrayfire |
|
Code
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire |
|
Issues
285
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/issues |
|
Pull requests
18
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/security |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
|
Insights
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pulse |
|
Code
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire |
|
Issues
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/actions |
|
Projects
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/wiki |
|
Security
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/security |
|
Insights
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Farrayfire%2Farrayfire%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Farrayfire%2Farrayfire%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#issue-comment-box |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| master | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/tree/master |
| 1693-bug-access-to-deleted-memory-in-array_proxy-index | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/tree/1693-bug-access-to-deleted-memory-in-array_proxy-index |
|
Fix for 1693 bug access to deleted memory in array proxy index
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#top |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| master | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/tree/master |
| 1693-bug-access-to-deleted-memory-in-array_proxy-index | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/tree/1693-bug-access-to-deleted-memory-in-array_proxy-index |
|
Conversation
4
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
|
Commits
10
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits |
|
Checks
4
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/files |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| Sep 5, 2024 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#issue-2508921961 |
| #1693 | https://github.com/arrayfire/arrayfire/issues/1693 |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| September 4, 2024 16:52 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#commits-pushed-3c08727 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| The af_retain_array method is now called for an array for a non-seque… | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/3c08727ed371e3298590551f0126ab6365bf596c |
| 3c08727 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/3c08727ed371e3298590551f0126ab6365bf596c |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Add error checking for retain function | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/ace028076b0417ce04ff34730cae5393ad92d331 |
| ace0280 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/ace028076b0417ce04ff34730cae5393ad92d331 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Woraround for issue with AF_THROW | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/21c10f1748b998adb22162ef31724372f9734756 |
| 21c10f1 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/21c10f1748b998adb22162ef31724372f9734756 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Fix error in indexing over dimensions | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/733edf12df8d9c4a8aa5f9713cc05f434d58bad4 |
| 733edf1 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/733edf12df8d9c4a8aa5f9713cc05f434d58bad4 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Release index arrays when array proxy destructor is called. | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/71ccd1cf1cdc8f2b4ced197851c43dc8252af781 |
| 71ccd1c | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/71ccd1cf1cdc8f2b4ced197851c43dc8252af781 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Added death test for using an array as an index when creating an arra… | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/480d5b2b9d6ceea91f29c62018b0a9ac85a516cd |
| 480d5b2 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/480d5b2b9d6ceea91f29c62018b0a9ac85a516cd |
| https://patch-diff.githubusercontent.com/christophe-murphy |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| Sep 5, 2024 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#event-14154012377 |
|
BUG: access to deleted memory in array_proxy index
#1693
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/issues/1693 |
| https://patch-diff.githubusercontent.com/umar456 |
| umar456 | https://patch-diff.githubusercontent.com/umar456 |
|
Feb 4, 2025
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#pullrequestreview-2594102599 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/files/480d5b2b9d6ceea91f29c62018b0a9ac85a516cd |
| src/api/cpp/array.cpp | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/files/480d5b2b9d6ceea91f29c62018b0a9ac85a516cd#diff-79f3e8ede085d754465cfabe7a5ee2519946d884873aef9c0d407812d3248100 |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
| https://patch-diff.githubusercontent.com/melonakos |
| melonakos | https://patch-diff.githubusercontent.com/melonakos |
| 3.10 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/milestone/35 |
| Feb 5, 2025 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#event-16198230328 |
| https://patch-diff.githubusercontent.com/christophe-murphy |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| Feb 18, 2025 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#issuecomment-2664421887 |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Additional testing of array proxy indexing to ensure fix and to check… | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/075f8af04f274f9d372bfb558cf19e39a31d66f3 |
| 075f8af | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/075f8af04f274f9d372bfb558cf19e39a31d66f3 |
| https://patch-diff.githubusercontent.com/christophe-murphy |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| Mar 4, 2025 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#issuecomment-2695899662 |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| March 11, 2025 17:59 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#commits-pushed-968798f |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Revert changes. | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/968798f752b4a8f89526c92a4f4e420b17244a06 |
| 968798f | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/968798f752b4a8f89526c92a4f4e420b17244a06 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Prevent use of auto for array_proxy assignment | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/d64ffda1deab8fd8596d5771894f18324a135400 |
| d64ffda | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/d64ffda1deab8fd8596d5771894f18324a135400 |
| https://patch-diff.githubusercontent.com/edwinsolisf |
| edwinsolisf | https://patch-diff.githubusercontent.com/edwinsolisf |
|
Mar 14, 2025
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#pullrequestreview-2686897842 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/files/d64ffda1deab8fd8596d5771894f18324a135400 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
| Onlly make array_proxy copy and move constructors private. | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/9573777d26c22560ace01ccd092b0c2b7e4be455 |
| 9573777 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/commits/9573777d26c22560ace01ccd092b0c2b7e4be455 |
| https://patch-diff.githubusercontent.com/christophe-murphy |
| christophe-murphy | https://patch-diff.githubusercontent.com/christophe-murphy |
| edwinsolisf | https://patch-diff.githubusercontent.com/edwinsolisf |
| stale review | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#pullrequestreview-2686897842 |
| 9573777 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/commit/9573777d26c22560ace01ccd092b0c2b7e4be455 |
| March 17, 2025 22:26 | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600#event-16815463577 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F3600 |
|
| https://patch-diff.githubusercontent.com/umar456 |
|
umar456
| https://patch-diff.githubusercontent.com/umar456 |
|
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/files/480d5b2b9d6ceea91f29c62018b0a9ac85a516cd |
|
| https://patch-diff.githubusercontent.com/edwinsolisf |
|
edwinsolisf
| https://patch-diff.githubusercontent.com/edwinsolisf |
|
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600/files/d64ffda1deab8fd8596d5771894f18324a135400 |
|
3.10
| https://patch-diff.githubusercontent.com/arrayfire/arrayfire/milestone/35 |
|
BUG: access to deleted memory in array_proxy index
| https://github.com/arrayfire/arrayfire/issues/1693 |
| Please reload this page | https://patch-diff.githubusercontent.com/arrayfire/arrayfire/pull/3600 |
|
| https://patch-diff.githubusercontent.com/christophe-murphy |
|
| https://patch-diff.githubusercontent.com/umar456 |
|
| https://patch-diff.githubusercontent.com/edwinsolisf |
|
| https://patch-diff.githubusercontent.com/melonakos |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |