Skip to content

Fix/unexported syncadapter services - #300

Open
PrivateBasicsApp wants to merge 10 commits into
etesync:masterfrom
PrivateBasicsApp:fix/unexported-syncadapter-services
Open

Fix/unexported syncadapter services#300
PrivateBasicsApp wants to merge 10 commits into
etesync:masterfrom
PrivateBasicsApp:fix/unexported-syncadapter-services

Conversation

@PrivateBasicsApp

Copy link
Copy Markdown

Fix #295

Stop exporting the sync adapter services
They were exported by inheritance from DAVdroid, which let any local app bind them and crash the sync process with a malformed transaction (NPE in AbstractThreadedSyncAdapter.handleOnUnsyncableAccount). The system server binds them either way, since it is exempt from the exported check.

…d-window-leaks

Fix/service connection and window leaks
Align native libraries for 16 KB page size
They were exported by inheritance from DAVdroid, which let any local app
bind them and crash the sync process with a malformed transaction (NPE in
AbstractThreadedSyncAdapter.handleOnUnsyncableAccount). The system server
binds them either way, since it is exempt from the exported check.

Fixes etesync#295.
@PrivateBasicsApp

Copy link
Copy Markdown
Author

Only the last commit is for the fix; the others were fixes (security/bug) that I was already making on my fork.

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.

Potential DoS in exported SyncAdapter services via malformed Binder request

1 participant