Title: Unsound Uninitialized Memory · Issue #1 · SamuelFischerCode/vec-array · GitHub
Open Graph Title: Unsound Uninitialized Memory · Issue #1 · SamuelFischerCode/vec-array
X Title: Unsound Uninitialized Memory · Issue #1 · SamuelFischerCode/vec-array
Description: vec-array/src/vec.rs Line 23 in ec034c8 arr: [T; CAP], You can't set a generic T to uninitialzed even if you don't read those values, because of types lile bool or references which have illegal values (bool must be 0 or 1, references mus...
Open Graph Description: vec-array/src/vec.rs Line 23 in ec034c8 arr: [T; CAP], You can't set a generic T to uninitialzed even if you don't read those values, because of types lile bool or references which have illegal val...
X Description: vec-array/src/vec.rs Line 23 in ec034c8 arr: [T; CAP], You can't set a generic T to uninitialzed even if you don't read those values, because of types lile bool or references which have ill...
Opengraph URL: https://github.com/SamuelFischerCode/vec-array/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unsound Uninitialized Memory","articleBody":"https://github.com/SamuelFischerCode/vec-array/blob/ec034c8836f2f1de7fcbcff9c4669f39a967f905/src/vec.rs#L23\r\n\r\nYou can't set a generic `T` to uninitialzed even if you don't read those values, because of types lile bool or references which have illegal values (bool must be 0 or 1, references must not be null)\r\nTo correctly handle this, this, you should use `[MaybeUninit\u003cT>; CAP]` instead.","author":{"url":"https://github.com/RustyYato","@type":"Person","name":"RustyYato"},"datePublished":"2023-04-26T15:16:29Z","url":"https://github.com/SamuelFischerCode/vec-array/issues/1"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:bfec5c29-4cf3-c6ac-2ade-8377ecf6c339 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C1C:3B172F:7FF9B:A8508:6B015864 |
| html-safe-nonce | dc3fa396967595b38585f953e9bee242ff7c5cbcf984148cf178feb55a798d70 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzFDOjNCMTcyRjo3RkY5QjpBODUwODo2QjAxNTg2NCIsInZpc2l0b3JfaWQiOiI3MDAzMzQ0NzA5MzkzNDA2MDUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 689afa279064958ed31afdda67526d14cf8097b173ba118fc07505d839cd19c0 |
| hovercard-subject-tag | issue:1685234559 |
| 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/SamuelFischerCode/vec-array/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4856958d30f59af945f87e493e2646245d94eb708a28f837790db434543617ab/SamuelFischerCode/vec-array/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4856958d30f59af945f87e493e2646245d94eb708a28f837790db434543617ab/SamuelFischerCode/vec-array/issues/1 |
| og:image:alt | vec-array/src/vec.rs Line 23 in ec034c8 arr: [T; CAP], You can't set a generic T to uninitialzed even if you don't read those values, because of types lile bool or references which have illegal val... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RustyYato |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/SamuelFischerCode/vec-array git https://github.com/SamuelFischerCode/vec-array.git |
| octolytics-dimension-user_id | 65810622 |
| octolytics-dimension-user_login | SamuelFischerCode |
| octolytics-dimension-repository_id | 632656907 |
| octolytics-dimension-repository_nwo | SamuelFischerCode/vec-array |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 632656907 |
| octolytics-dimension-repository_network_root_nwo | SamuelFischerCode/vec-array |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width