Skip to content
Merged
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
2 changes: 1 addition & 1 deletion libclamav/pdf.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ static size_t find_length(struct pdf_struct *pdf, struct pdf_obj *obj, const cha

/* Step the index into the "/Length" string. */
index++;
bytes_remaining -= index - obj_start;
bytes_remaining--;

/* Find the start of the next direct or indirect object.
* pdf_nextobject() assumes we started searching from within a previous object */
Expand Down