bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711)

This commit is contained in:
Zackery Spytz 2019-05-31 18:16:20 -06:00 committed by Berker Peksag
parent ed9f3562b6
commit 549e55a308
3 changed files with 14 additions and 0 deletions

View file

@ -571,6 +571,9 @@ summary_getproperty(msiobj* si, PyObject *args)
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize);
}
if (status != ERROR_SUCCESS) {
return msierror(status);
}
switch(type) {
case VT_I2: