Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175824573
D60695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D60695.diff
View Options
diff --git a/sys/contrib/zlib/gzwrite.c b/sys/contrib/zlib/gzwrite.c
--- a/sys/contrib/zlib/gzwrite.c
+++ b/sys/contrib/zlib/gzwrite.c
@@ -243,8 +243,11 @@
n -= state->strm.avail_in;
state->x.pos += n;
len -= n;
- if (ret == -1)
+ if (ret == -1) {
+ state->strm.avail_in = 0;
+ state->strm.next_in = state->in;
return state->again ? put - len : 0;
+ }
} while (len);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 14, 4:34 PM (5 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40783359
Default Alt Text
D60695.diff (505 B)
Attached To
Mode
D60695: sys/contrib/zlib: Patch CVE-2026-85091
Attached
Detach File
Event Timeline
Log In to Comment