]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-smtp: smtp_address_init_from_msg() - Avoid implicit char to unsigned char conversion
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 9 Nov 2020 16:10:21 +0000 (18:10 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 9 Nov 2020 16:10:21 +0000 (18:10 +0200)
commit8e65d366a2e4826f5273ed859cd69a3e8df99a6c
treeaf6d7a95197cf65e0dc905fde5f90169bea9f256
parentddf77cf384385b96c115a9b96354816c40803524
lib-smtp: smtp_address_init_from_msg() - Avoid implicit char to unsigned char conversion

Fixes calling smtp_char_is_qpair() with ubsan:
runtime error: implicit conversion from type 'char' of value -61 (8-bit, signed) to type 'unsigned char' changed the value to 195 (8-bit, unsigned)
src/lib-smtp/smtp-address.c