Xiangfei Ding's patch changes imap-send to use ASN1_STRING_length when handling certificate strings. The commit message says X.509 has never required ASN1_STRING data to be NUL-terminated, and OpenSSL's ASN1_STRING_get0_data() returns a raw payload pointer that happens to be terminated. It adds that derivatives such as BoringSSL are expected to change this, so host_matches and verify_hostname should use strncasecmp and print strings with an explicit length.
Junio C Hamano's review began with the patch's in-body From: line. It overrides the MUA's From: header, but here it did not match the sender identity or the later Signed-off-by, and the author identity used when the patch is committed should match the sign-off.
He also said the commit message is unclear about whether only OpenSSL derivatives will stop NUL-terminating, or OpenSSL itself will change ASN1_STRING_get0_data() and derivatives will follow. The author resent the patch with the same message text; the rest of Junio's review is cut off in the excerpt.