Commit 716671d
committed
ews: unconditionally emit all OOF XML tags upon GetUserOofSettingsRequest
Outlook 2019 MSO (v2506 Build 16.0.18925.20076) is prone to reliable
crashing when attempting to save OOF settings after miniscule
changes. Not all OL versions exhibit the behavior, but if one
{version, mailbox} combination does crash, it does quite reliably so.
It appears that the crash is averted when *all* OOF XML tags are
present at all times, even if OOF is disabled. This suggests that OL
(1.) violates specification MS-OXWOOF v16 §2.2.4.2 which clearly
permits absence of some tags, (2.) has a nullptr deference somewhere,
akin to:
```
// on GetUserOofSettings:
this->starttime = xmlFindNode(tree, "StartTime");
// on SetUserOofSettings:
this->starttime->set("2025-12-01 00:00:00");
```
References: GXL-605, DESK-3609, DESK-3614, DESK-36661 parent c4dd52f commit 716671d
2 files changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| |||
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
969 | 973 | | |
970 | 974 | | |
971 | 975 | | |
972 | 976 | | |
| 977 | + | |
| 978 | + | |
973 | 979 | | |
974 | 980 | | |
975 | | - | |
976 | | - | |
977 | | - | |
| 981 | + | |
| 982 | + | |
978 | 983 | | |
979 | 984 | | |
980 | 985 | | |
| |||
0 commit comments