vmime/tests
Jan Engelhardt b447adbe37
Fixes/comments for guessBestEncoding (#304)
* tests: add case for getRecommendedEncoding

* vmime: avoid integer multiply wraparound in wordEncoder::guessBestEncoding

If the input string is 42949673 characters long or larger, there will
be integer overflow on 32-bit platforms when multiplying by 100.
Switch that one computation to floating point.

* vmime: update comment in wordEncoder::guessBestEncoding
2024-05-21 15:47:05 +02:00
..
misc Code style and clarity. 2018-09-05 23:54:48 +02:00
net Fixed Cppcheck issues. 2021-11-25 21:57:07 +01:00
parser Fixes/comments for guessBestEncoding (#304) 2024-05-21 15:47:05 +02:00
security/digest Code style and clarity. 2018-09-05 23:54:48 +02:00
utility url: strip leading slash from url-path (#298) 2024-03-04 11:46:03 +01:00
testRunner.cpp Code style and clarity. 2018-09-05 23:54:48 +02:00
testUtils.cpp Code style and clarity. 2018-09-05 23:54:48 +02:00
testUtils.hpp Fixed Cppcheck issues. 2021-11-25 21:57:07 +01:00