Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ v3.0.4 - YYYY-MM-DD
- Updated `ippeveprinter` to add a date/time stamp when logging to a file.
- Now explicitly validate IPP attribute names as keyword strings.
- Fixed `httpGetDateString` with bad date/time values (Issue #167)
- Fixed the number of bytes reported by `httpPeek` for content-encoded data.
- Fixed a potential buffer overflow in `cupsDNSSDAssembleFullName` on Windows
(Issue #170)
- Fixed a potential string overrun when loading .strings files (Issue #171)
Expand Down
2 changes: 1 addition & 1 deletion cups/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ httpPeek(http_t *http, // I - HTTP connection
return (-1);
}

bytes = (ssize_t)(length - ((z_stream *)http->stream)->avail_out);
bytes = (ssize_t)(length - stream.avail_out);
}
else if (http->used > 0)
{
Expand Down
Loading