Skip to content

Commit

Permalink
Urgent fix to ips.hexpat
Browse files Browse the repository at this point in the history
  • Loading branch information
gmestanley authored Oct 14, 2023
1 parent 4dceccc commit 36d0d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patterns/ips.hexpat
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct Hunk {

struct IPS {
char signature[5];
Hunk hunks[while($ < std::mem::size()-3+(std::mem::read_string(std::mem::size()-3, 3) != "EOF"))];
Hunk hunks[while($ < std::mem::size() - (3 + 3 * (std::mem::read_string(std::mem::size()-3, 3) != "EOF")))];
char eof[3];
u24 truncatedSize[3+(std::mem::read_string(std::mem::size()-3, 3) != "EOF")>3];
};
Expand Down

0 comments on commit 36d0d48

Please sign in to comment.