Title: buffer: fix needle length misestimation for UCS2 · nodejs/node@a550ddb · GitHub
Open Graph Title: buffer: fix needle length misestimation for UCS2 · nodejs/node@a550ddb
X Title: buffer: fix needle length misestimation for UCS2 · nodejs/node@a550ddb
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: Use `StringBytes::Size` to determine the needle string length instead of assuming latin-1 or UTF-8. Previously, `Buffer.indexOf` could fail with an assertion failure when the needle's byte len...
X Description: Use `StringBytes::Size` to determine the needle string length instead of assuming latin-1 or UTF-8. Previously, `Buffer.indexOf` could fail with an assertion failure when the needle's byte...
Opengraph URL: /nodejs/node/commit/a550ddbf3c6887d77530ec3faaf51fde3c18b94a
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:e006d651-10a3-6342-9f3a-57e9fd0d3b5c |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | B394:1D81B0:16CF4EA:1F4BB4F:696AA8C7 |
| html-safe-nonce | 5709893bd53f2425282e89bace097b79c149f4f893fd41aff90fa06f6af9cd42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzk0OjFEODFCMDoxNkNGNEVBOjFGNEJCNEY6Njk2QUE4QzciLCJ2aXNpdG9yX2lkIjoiNDUzMTYwNDE0MzA1MzkwODE2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f91a60da9cdca3f86fc5e1c85c8ec2011b273f86e3122c6a4e43f25f3c01fe6 |
| hovercard-subject-tag | repository:27193779 |
| github-keyboard-shortcuts | repository,commits,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/commit/a550ddbf3c |
| twitter:image | https://opengraph.githubassets.com/8438ada0d6b621f93b4f94fddfc98bf9b96e57f93caf393a8f00c61914374e7f/nodejs/node/commit/a550ddbf3c6887d77530ec3faaf51fde3c18b94a |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8438ada0d6b621f93b4f94fddfc98bf9b96e57f93caf393a8f00c61914374e7f/nodejs/node/commit/a550ddbf3c6887d77530ec3faaf51fde3c18b94a |
| og:image:alt | Use `StringBytes::Size` to determine the needle string length instead of assuming latin-1 or UTF-8. Previously, `Buffer.indexOf` could fail with an assertion failure when the needle's byte len... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1463490208 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width