aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/string-utils.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-06-05 17:43:58 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2021-06-05 17:43:58 +0200
commitae913ab6275ff746439a2d99f8a1550ec2e511ff (patch)
treefade465796b86ab17b0d7d1bc6862386f685524e /src/string-utils.h
parenta5733728560d300774a4322ed18fc75b5946d4de (diff)
downloadsciteco-ae913ab6275ff746439a2d99f8a1550ec2e511ff.tar.gz
teco_memory_check() now checks for addition overflows and negative searches (<S>) for multiplication overflows
* Since the numbers come from "outside" (SciTECO scripts) this is easily possible, resulting either in missed checks or even memory corruption. * In particular, this fixes the "Searching with large counts" test case on 32-bit builds. Perhaps at least one CI build should be 32-bit?
Diffstat (limited to 'src/string-utils.h')
0 files changed, 0 insertions, 0 deletions