Title: str8 with length > 127 leads to Bad limit exception, v0.6.11 · Issue #213 · msgpack/msgpack-java · GitHub
Open Graph Title: str8 with length > 127 leads to Bad limit exception, v0.6.11 · Issue #213 · msgpack/msgpack-java
X Title: str8 with length > 127 leads to Bad limit exception, v0.6.11 · Issue #213 · msgpack/msgpack-java
Description: Problem is in the following code of MessagePackUnpacker.java ... case 0xd9: // str 8 { int count = in.getByte(); ... byte is a signed type! If string length > 127, then count will be negative number, so tryReferRawBody will be called wit...
Open Graph Description: Problem is in the following code of MessagePackUnpacker.java ... case 0xd9: // str 8 { int count = in.getByte(); ... byte is a signed type! If string length > 127, then count will be negative numbe...
X Description: Problem is in the following code of MessagePackUnpacker.java ... case 0xd9: // str 8 { int count = in.getByte(); ... byte is a signed type! If string length > 127, then count will be negative nu...
Opengraph URL: https://github.com/msgpack/msgpack-java/issues/213
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"str8 with length \u003e 127 leads to Bad limit exception, v0.6.11","articleBody":"Problem is in the following code of MessagePackUnpacker.java\n\n```\n...\n case 0xd9: // str 8\n {\n int count = in.getByte();\n...\n```\n\nbyte is a signed type!\nIf string length \u003e 127, then count will be negative number, so tryReferRawBody will be called with second parameter as negative number. \n\n```\n...\n if (!tryReferRawBody(a, count)) {\n\n...\n```\n\nThus we will get java.lang.IllegalArgumentException: Bad limit (capacity 1024): -65 expection\n","author":{"url":"https://github.com/ArcsinX","@type":"Person","name":"ArcsinX"},"datePublished":"2015-04-01T09:53:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/213/msgpack-java/issues/213"}
| 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:29e2958d-2fc5-96ff-ea6c-2e0a3e2ba727 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA7C:185C34:27AC123:364CCEE:6A53B656 |
| html-safe-nonce | b5f86d38fa744d2962917cf4e72b79f8b09c6ece017e636db787e1aa5f25b90e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTdDOjE4NUMzNDoyN0FDMTIzOjM2NENDRUU6NkE1M0I2NTYiLCJ2aXNpdG9yX2lkIjoiMjA4NjkyMDUxMzUxMTQ3MDY3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 86a2cc0bd93a2670eab59f956dfeb2939b3008632aa6f7426a80c0d375f8c0ae |
| hovercard-subject-tag | issue:65647912 |
| 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/msgpack/msgpack-java/213/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c911536afffe420e63053de2ebec6563b2229327f03ba35e91b7b815551e3a6/msgpack/msgpack-java/issues/213 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c911536afffe420e63053de2ebec6563b2229327f03ba35e91b7b815551e3a6/msgpack/msgpack-java/issues/213 |
| og:image:alt | Problem is in the following code of MessagePackUnpacker.java ... case 0xd9: // str 8 { int count = in.getByte(); ... byte is a signed type! If string length > 127, then count will be negative numbe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ArcsinX |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-java git https://github.com/msgpack/msgpack-java.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 1971346 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1971346 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-java |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width