Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct fix status check for new gpsd #191

Merged
merged 1 commit into from
Aug 14, 2020
Merged

Conversation

jpaana
Copy link
Contributor

@jpaana jpaana commented Aug 14, 2020

Previous fix was totally bogus as it just dereferenced an uninitialized pointer.

@knro
Copy link
Collaborator

knro commented Aug 14, 2020

So had nothing to do with version incompatibilities???

@jpaana
Copy link
Contributor Author

jpaana commented Aug 14, 2020

There is valid API version incompatibility issue as the fix status field was moved from gps_data_t to gps_fix_t (which is included in gps_data_t so the fix it trivial), but the previous fix (#188) was incorrect and just caused a segmentation fault due to just checking for a pointer that wasn't initialized anywhere.

@knro knro merged commit 7e4fbae into indilib:master Aug 14, 2020
lboclboc pushed a commit to lboclboc/indi-3rdparty that referenced this pull request Sep 13, 2020
@jpaana jpaana deleted the gpsd_fix_crash branch May 16, 2021 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants