Title: [3.7] bpo-21872: fix lzma library decompresses data incompletely (GH-14048) by miss-islington · Pull Request #16055 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-21872: fix lzma library decompresses data incompletely (GH-14048) by miss-islington · Pull Request #16055 · python/cpython
X Title: [3.7] bpo-21872: fix lzma library decompresses data incompletely (GH-14048) by miss-islington · Pull Request #16055 · python/cpython
Description: add test case with wrong behavior fix bug when max_length == -1 allow b"" as valid input data for decompress_buf() when max_length >= 0, let needs_input mechanism works add more asserts to test case (cherry picked from commit 4ffd05d) Co-authored-by: animalize animalize@users.noreply.github.com https://bugs.python.org/issue21872
Open Graph Description: add test case with wrong behavior fix bug when max_length == -1 allow b"" as valid input data for decompress_buf() when max_length >= 0, let needs_input mechanism works a...
X Description: add test case with wrong behavior fix bug when max_length == -1 allow b"" as valid input data for decompress_buf() when max_length >= 0, let needs_input mechani...
Opengraph URL: https://github.com/python/cpython/pull/16055
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:59b3719f-5fc9-9fe5-ab4c-74a352188fc8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CE0:33520B:D58DB0:122F5E5:6A55B8D2 |
| html-safe-nonce | 1da265601c48213fc92de6a7ea4db870cd416cd629f85932eee6412018a2c0cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0UwOjMzNTIwQjpENThEQjA6MTIyRjVFNTo2QTU1QjhEMiIsInZpc2l0b3JfaWQiOiI2NTQyMDExODM5NjQzMjM2NTYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 55615cccbc14c61bad5d98272728890f37d2e50d3afad16fda556faf6ac54ade |
| hovercard-subject-tag | pull_request:316932592 |
| 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/python/cpython/pull/16055/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | add test case with wrong behavior fix bug when max_length == -1 allow b"" as valid input data for decompress_buf() when max_length >= 0, let needs_input mechanism works a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 64b9ae238e18eb87ead1f9fe37a7cc81d67d85aa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width