You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In very rare cases i get an NullReferenceException in BouncyCastleSecureMimeContext while decoding S/Mime messages.
The problem is caused by malformed SMIMECapabilities in the signature.
These contain the RC2-CBC algorithm, but without the required parameter.
This causes the NullReferenceException to occur in the following section of code.
In very rare cases i get an NullReferenceException in BouncyCastleSecureMimeContext while decoding S/Mime messages.
The problem is caused by malformed SMIMECapabilities in the signature.
These contain the RC2-CBC algorithm, but without the required parameter.
This causes the NullReferenceException to occur in the following section of code.
Line 846
MimeKit/MimeKit/Cryptography/BouncyCastleSecureMimeContext.cs
Lines 834 to 855 in e9b1905
I think the simplest solution would be to use a
else if
condition to prevent the NullReferenceException:br,
Alex
The text was updated successfully, but these errors were encountered: