mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 11:25:13 +01:00
Prevent crash
This commit is contained in:
@@ -2397,7 +2397,7 @@ public class HtmlHelper {
|
||||
|
||||
ByteArrayInputStream bis = new ByteArrayInputStream(headers.getBytes());
|
||||
String[] received = new InternetHeaders(bis).getHeader("Received");
|
||||
if (received.length > 0) {
|
||||
if (received != null && received.length > 0) {
|
||||
ssb.append('\n');
|
||||
for (int i = received.length - 1; i >= 0; i--) {
|
||||
String h = MimeUtility.unfold(received[i]);
|
||||
|
||||
Reference in New Issue
Block a user