Open Bowarc opened 2 months ago
This if not checked, allocates an arbitrary number of bytes.
This, combined with any connection request that doesn't follow our header pattern, will request a random amount of memory to be allocated.
Which will most of the time crash the program.
Could just add a verification on that, but what would be the max value ?
Can't use sizeof as you can send vecs of data
This if not checked, allocates an arbitrary number of bytes.
This, combined with any connection request that doesn't follow our header pattern, will request a random amount of memory to be allocated.
Which will most of the time crash the program.