summaryrefslogtreecommitdiff
path: root/lib/setopt.h
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2020-07-25 17:29:38 +0200
committerJay Satiro <raysatiro@yahoo.com>2020-07-27 03:42:59 -0400
commit94b03664decf47429ad426afb40ae5fe1aff28cf (patch)
treecc340a4b78a1e1f1852788574ae4e911efd491ec /lib/setopt.h
parent376d5bb323c03c0fc4af266c03abac8f067fbd0e (diff)
downloadcurl-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