Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.98k stars 169 forks source link

fix PDFIUM_Print.exe crash #4276

Closed JuergenGleiss closed 4 months ago

JuergenGleiss commented 4 months ago

resolve #4275

totaam commented 4 months ago

Thanks!

totaam commented 4 months ago

POINTER(None) is not a valid construct. This is now triggering warnings in the sonarqube static analyzer:

Change this argument; Function "POINTER" expects a different type
Arguments given to functions should be of an expected type[python:S5655](https://sonarqube-xpra.vpo.nl/coding_rules?open=python%3AS5655&rule_key=python%3AS5655)

What should it be instead? Where is the definition? Undefined pointers can use c_void_p.