commit 088e9e4957af3d265a30e14b2ab38b5693bb5d91 from: Martijn van Duren date: Wed Mar 30 16:06:30 2022 UTC Start the osmtpd_ltok_skip_sig_i_tag_value domain-name scan after '@' commit - 2817edcae0ee214e8767f74be1beeb5dec73e26f commit + 088e9e4957af3d265a30e14b2ab38b5693bb5d91 blob - c558c6f247f94e3870164b75da61130bee0770fc blob + 519d14c7136114d28ad93d4318dde7686e9bf4cd --- ltok.c +++ ltok.c @@ -1376,7 +1376,7 @@ osmtpd_ltok_skip_sig_i_tag_value(const char *ptr, int ptr = osmtpd_ltok_skip_local_part(ptr, 1); if (ptr[0] != '@' || - (ptr = osmtpd_ltok_skip_domain_name(ptr, 0)) == NULL) + (ptr = osmtpd_ltok_skip_domain_name(ptr + 1, 0)) == NULL) return optional ? start : NULL; return ptr; }