AxisCommunications / acap-native-sdk-examples

Example code for APIs and features in AXIS Camera Application Platform (ACAP) Native SDK
Apache License 2.0
41 stars 23 forks source link

Fix segfault in fastcgi app #162

Closed daniel-falk closed 11 months ago

daniel-falk commented 11 months ago

If there are no query parameters specified, the application segfaulted since it did continue to try using the uri query list even if parsing them failed. This commit causes it to print the "Failed to parse .." text and then continue, waiting for the next request.

Describe your changes

Correct error handling.

Issue ticket number and link

Checklist before requesting a review

Maintainer notes

pataxis commented 11 months ago

Thank you very much @daniel-falk for contributing with this bug fix!