Title: buffer: fix buffer alignment restriction by ofrobots · Pull Request #5752 · nodejs/node · GitHub
Open Graph Title: buffer: fix buffer alignment restriction by ofrobots · Pull Request #5752 · nodejs/node
X Title: buffer: fix buffer alignment restriction by ofrobots · Pull Request #5752 · nodejs/node
Description: Pull Request check-list Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with this change (including linting)? Is the commit message formatted according to CONTRIBUTING.md? If this change fixes a bug (or a performance problem), is a regression test (or a benchmark) included? Affected core subsystem(s) buffer Description of change @addaleax recently reported that recent phantom weakness changes (ebbbc5a) to buffer break node-ffi and possibly other modules that use create unaligned buffers. It turns out there is a simpler solution possible that doesn't introduce an alignment restriction. This also eliminates the need for Node-core to reserve the first internal field on buffers. Ref: #5204 R=@bnoordhuis, @trevnorris Marking with dont-land-on-* as the pre-requisite change is also marked likewise.
Open Graph Description: Pull Request check-list Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with this change (including linting)? Is the commit message formatted according to CONTRIBUTING.md? If th...
X Description: Pull Request check-list Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with this change (including linting)? Is the commit message formatted according to CONTRIBUTING.md? If th...
Opengraph URL: https://github.com/nodejs/node/pull/5752
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:da9f3a34-5cc9-0d1b-88cc-313d1d004f81 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B498:2CEF6D:54F2B56:774FC0E:6A57221D |
| html-safe-nonce | 955e59bf0f0526219bbe012408b13ceb153eab7ee408e0b2d815763084962808 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDk4OjJDRUY2RDo1NEYyQjU2Ojc3NEZDMEU6NkE1NzIyMUQiLCJ2aXNpdG9yX2lkIjoiNDU5NjUxNDYxOTQ2OTAxMzUzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | af3b390fff34b9a984285ccef5d1b862885904409ff5e9f90e104e8fc42b2d58 |
| hovercard-subject-tag | pull_request:63161013 |
| 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/nodejs/node/pull/5752/files |
| twitter:image | https://avatars.githubusercontent.com/u/79017?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/79017?s=400&v=4 |
| og:image:alt | Pull Request check-list Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with this change (including linting)? Is the commit message formatted according to CONTRIBUTING.md? If th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width