Bowarc / crates

Collection of small crates i use in my projects
1 stars 0 forks source link

[Networking] Curl crash #20

Open Bowarc opened 2 months ago

Bowarc commented 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.

Bowarc commented 1 month ago

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