mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-11 13:49:15 -05:00
Fix for null pointer exception when there is an exception thrown and the caught in processRequest without properly terminating checks (ie, during the recursive calls, resulting in a null data set being returned).
This commit is contained in:
parent
6f8a243bcc
commit
91573e19ac
@ -1299,6 +1299,10 @@ public class WebDavStore extends Store {
|
||||
headers.put("Brief", "t");
|
||||
dataset = processRequest(this.mFolderUrl, "SEARCH", messageBody, headers);
|
||||
|
||||
if (dataset == null) {
|
||||
throw new MessagingException("Data Set from request was null");
|
||||
}
|
||||
|
||||
uidToReadStatus = dataset.getUidToRead();
|
||||
|
||||
for (int i = 0, count = messages.length; i < count; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user