Commit 9a010a5
committed
mapi_lib: restore g_proprow tag set reduction
EXT_PULL::g_recipient_row pulled more bytes off the ROP command
buffer than it should have, and then the parse eventually returned
pack_result::format. (Managed to trigger it with one MAPI_TO and one
MAPI_BCC recipient).
In the caller, `g_recipient_row`, this had changed:
```
- if (r->count > pproptags->count)
+ if (r->count > tags.size())
return pack_result::format;
- proptags.count = r->count;
```
This is not just an overflow check; one has to realize that r->count
can legitimately be smaller than tags.size() and that a subset of
tags is passed down from g_recipient_row to g_proprow.
Fixes: gromox-3.0-107-ga2c814f32
References: GXH-1811 parent bf481c8 commit 9a010a5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
1667 | | - | |
| 1667 | + | |
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
| |||
0 commit comments