8000 dbus: fix stack smashing by rautesamtr · Pull Request #985 · anbox/anbox · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

dbus: fix stack smashing #985

Merged
merged 1 commit into from
Dec 10, 2018
Merged

dbus: fix stack smashing #985

merged 1 commit into from
Dec 10, 2018

Conversation

rautesamtr
Copy link
Contributor

The expected C type of a sd-bus boolean is int and not boolean.
This fixes a possible stack smashing caused by the varying types.

See libratbag/libratbag#433 which had the same
problem.

Copy link
Member
@morphis morphis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Left a comment inline.

The expected C type of a sd-bus boolean is int and not boolean.
This fixes a possible stack smashing caused by the varying types.

See libratbag/libratbag#433 which had the same
problem.
@morphis morphis merged commit 73b8b63 into anbox:master Dec 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

< 387F div data-show-on-forbidden-error hidden>

Uh oh!

There was an error while loading. Please reload this page.

2 participants
0