summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-10-12 14:01:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-10-12 14:01:17 +0200
commita811215d22dd40b938021b9f41daf315ac11e685 (patch)
tree84f4b830bc591d42121d24a00739df2bd6188e96 /doc
parent0326a6b837a7e5bb490360a7cdb0225947cee166 (diff)
string_append: check for addition and multiplication overflow
This could overflow / wrap the buffer. Note: SIZE_MAX is defined in POSIX to atleast 65535. On most platforms on 64-bit this is 0xffffffffffffffffUL bytes.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions