summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2022-12-01 12:53:15 +0000
committerNick Wellnhofer <wellnhofer@aevum.de>2022-12-01 15:30:12 +0000
commitc715ded0861af956ba584f566bc7db6717f519d0 (patch)
tree34a0e7dcf03b0f9710d303cd8b0630750d631b21 /xmllint.c
parentc62c0d82ccacc2000c45f211166f008687fb97a0 (diff)
downloadlibxml2-c715ded0861af956ba584f566bc7db6717f519d0.tar.gz
Avoid creating an out-of-bounds pointer by rewriting a check
Creating more than one-past-the-end pointers is undefined behaviour in C and while this code is unlikely to be miscompiled, I discovered that an out-of-bounds pointer is being created using UBSan on a CHERI-enabled system.
Diffstat (limited to 'xmllint.c')
0 files changed, 0 insertions, 0 deletions