You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "arthurscchan (via GitHub)" <gi...@apache.org> on 2023/12/04 23:28:08 UTC
[PR] LANG-1722: Catch NegativeArraySizeException [commons-lang]
arthurscchan opened a new pull request, #1141:
URL: https://github.com/apache/commons-lang/pull/1141
`SerilizationUtils.deserialize(InputStream)` throws unexpected `NegativeArraySizeException` when the size related bytes is negative. This PR fixes it by wrapping the `NegativeArraySizeException` with `SerializationException` to avoid unexpected exceptions thrown.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] LANG-1722: Catch NegativeArraySizeException [commons-lang]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #1141:
URL: https://github.com/apache/commons-lang/pull/1141#issuecomment-1843939334
## [Codecov](https://app.codecov.io/gh/apache/commons-lang/pull/1141?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Comparison is base [(`c52fec6`)](https://app.codecov.io/gh/apache/commons-lang/commit/c52fec6932b9f595e0a5ad22c18f561c228291a4?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 92.14% compared to head [(`a46df1d`)](https://app.codecov.io/gh/apache/commons-lang/pull/1141?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) 92.16%.
> Report is 8 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #1141 +/- ##
============================================
+ Coverage 92.14% 92.16% +0.01%
- Complexity 7595 7597 +2
============================================
Files 200 200
Lines 15910 15910
Branches 2925 2925
============================================
+ Hits 14660 14663 +3
+ Misses 676 675 -1
+ Partials 574 572 -2
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/commons-lang/pull/1141?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] LANG-1722: Rethrow NegativeArraySizeException as SerializationException in SerilizationUtils.deserialize(InputStream) [commons-lang]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #1141:
URL: https://github.com/apache/commons-lang/pull/1141
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org