Tobias Stoeckmann

Results 31 issues of Tobias Stoeckmann

- Consider nul byte in posix code - Prevent integer overflows (get and set) in posix code Proof of Concept: If you set your hostname to a 64 character long...

Checking if a file exists by using its pathname and later on opening the file by using its pathname again leads to a TOCTOU race condition. Just try to open...

Completely removed addr_sa_pton since it was not called anywhere. Shoutout to [@c3h2_ctf](https://twitter.com/c3h2_ctf)

If gzip support has been disabled during compilation then also consider gzip relevant states as invalid in deflateStateCheck. Also the gzip state definitions can be removed. This change leads to...

Negative windowBits arguments are eventually turned positive in deflateInit2_ and inflateInit2_ (more precisely in inflateReset2). Such values are used to indicate that raw deflate/inflate should be performed. If a user...

It is possible to trigger an out of boundary read in compare_keys while dumping json with JSON_SORT_KEYS due to a signed integer usage. If a key is longer than 2...

Do not silently truncate values or skip entries if out of memory errors occur. Proof of Concept: - Create poc.c, a program which creates an eight megabyte large json object...

Fixed a simple grammar mistake in a comment.

This PR is a result of discussion at https://github.com/smol-rs/fastrand/pull/77. Right now the fastrand implementation is robust with current Rust implementation against TLS deallocation issues, because the Rng struct does not...

Fixes the following warning: warning C4244: '=': conversion from 'int64_t' to 'size_t', possible loss of data