Skip to content
Snippets Groups Projects
Unverified Commit 18033bb6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

file2memory: use a define instead of -1 unsigned value

... to use the maximum value for 'size_t' when detecting integer overflow.
Changed the limit to max/4 as already that seems unreasonably large.

Codacy didn't like the previous approach.
parent 2f5d0e49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment