diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2020-07-25 17:29:38 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-07-27 03:42:59 -0400 |
commit | 94b03664decf47429ad426afb40ae5fe1aff28cf (patch) | |
tree | cc340a4b78a1e1f1852788574ae4e911efd491ec /lib/setopt.h | |
parent | 376d5bb323c03c0fc4af266c03abac8f067fbd0e (diff) | |
download | curl-94b03664decf47429ad426afb40ae5fe1aff28cf.tar.gz |
mprintf: Fix dollar string handling
Verify that specified parameters are in range. If parameters are too
large, fail early on and avoid out of boundary accesses.
Also do not read behind boundaries of illegal format strings.
These are defensive measures since it is expected that format strings
are well-formed. Format strings should not be modifiable by user
input due to possible generic format string attacks.
Closes https://github.com/curl/curl/pull/5722
Diffstat (limited to 'lib/setopt.h')
0 files changed, 0 insertions, 0 deletions