mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711)
This commit is contained in:
parent
ed9f3562b6
commit
549e55a308
3 changed files with 14 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue