cesbit / aiowmi

Python WMI Queries
GNU General Public License v3.0
27 stars 8 forks source link

Wait for-ever on result #15

Closed joente closed 2 years ago

joente commented 2 years ago

Describe the bug It is possible that in case-of-an-error, the WMI library will wait forever for data to return

To Reproduce Reproducing is difficult, as usually Windows returns with data as expected. However, it is possible to fake the code and wait for too much data which forces an endless wait for data.

Expected behavior Raise a time-out error at some reasonable point in time. (should be possible to adjust using arguments)

joente commented 2 years ago

Fixed in 87c3b1d