| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR addresses a reliability issue by ensuring inflate.c returns Z_MEM_ERROR immediately when window allocation fails, allowing the proper exception to surface instead of leading to a crash.
src/native/external/zlib-intel/inflate.c:254
return Z_MEM_ERROR;
src/native/external/zlib-intel/inflate.c:730
return Z_MEM_ERROR;
Sorry, something went wrong.
|
Tagging subscribers to this area: @dotnet/area-system-io-compression |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Customer Impact
If a process is running low on memory and fails window allocation in zlib on Windows, we weren't correctly returning the error to produce the correct ZlibException. This creates a reliability issue as the failure looks like an application crash instead of out of memory. This issue is unique to the zlib-intel codebase.
Regression
Testing
Unit tests, adhoc testing.
Risk
Low. This is likely a non-recoverable error, we're just making sure we surface in a way that diagnostics will correctly capture.