a2636bd4ae
* build: resolve a -Wconversion compiler warning wordEncoder.cpp:312:91: warning: conversion from ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion] 312 | buffer.length() == 0 ? 1 : static_cast<double>(asciiCount) / buffer.length(); | ~~~~~~~~~~~~~^~ * wordEncoder: replace value 100 for asciiPercent asciiPercent is a ratio, and not counting in units of hundredths anymore. The maximum value therefore should be 1 not 100. * vmime: avoid integer multiply wraparound in text::createFromString The change from commit v0.9.2-194-gb447adbe needs to be applied to one more function that replicates the same code. (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.) |
||
---|---|---|
cmake | ||
contrib | ||
doc/book | ||
examples | ||
src/vmime | ||
tests | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
CMakeLists.txt | ||
COPYING | ||
COPYING.OpenSSL | ||
Doxyfile.in | ||
HACKING | ||
NEWS | ||
README | ||
README.autotools | ||
test-outsourced-build.sh | ||
vmime.pc.in |
VMime is a powerful C++ class library for working with RFC-822 and MIME messages and Internet messaging services like IMAP, POP or SMTP. With VMime you can parse, generate and modify messages, and also connect to store and transport services to receive or send messages over the Internet. The library offers all the features to build a complete mail client. Key Features ------------ * it is free software! GNU GPL license (Commercial licenses available!) * fully RFC-compliant implementation * object-oriented and modular design * very easy-to-use (intuitive design) * well documented code * very high reliability * maximum portability Features Overview ----------------- * RFC-2822 and multipart messages * aggregate documents and embedded objects * 8-bit MIME and encoded word extensions * full support for attachments * POP3, IMAP, SMTP, maildir and sendmail * SSL/TLS security layer and X.509 certificates (using GNU TLS) * SASL authentication (using GNU SASL)