Skip to content

Fix missing alignment in decodeU()#348

Merged
guelfey merged 1 commit intogodbus:masterfrom
felixonmars:decodeu
Dec 23, 2022
Merged

Fix missing alignment in decodeU()#348
guelfey merged 1 commit intogodbus:masterfrom
felixonmars:decodeu

Conversation

@felixonmars
Copy link
Contributor

During refactoring in #344, the newly added decodeU() function skips the dec.align() call from the original decode("u") routine. This unfortunately breaks parsing of boolean values with a lot of the following errors:

dbus: wire format error: invalid value for boolean

Adding a fixed align() call here fixes the problem.

During refactoring in godbus#344, the newly added decodeU() function skips the
dec.align() call from the original decode("u") routine. This
unfortunately breaks parsing of boolean values with a lot of the
following errors:

```
dbus: wire format error: invalid value for boolean
```

Adding a fixed align() call here fixes the problem.
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this pull request Dec 22, 2022
- applies a fix for a regression introduced in godbus/dbus: godbus/dbus#348
  hopefully fixes part of https://github.com/orgs/linuxdeepin/discussions/3523


git-svn-id: file:///srv/repos/svn-community/svn@1365192 9fca08f4-af9d-4005-b8df-a31f2cc04f65
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this pull request Dec 22, 2022
- applies a fix for a regression introduced in godbus/dbus: godbus/dbus#348
  hopefully fixes part of https://github.com/orgs/linuxdeepin/discussions/3523

git-svn-id: file:///srv/repos/svn-community/svn@1365192 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Copy link
Member

@guelfey guelfey left a comment

Choose a reason for hiding this comment

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

Thanks!

@guelfey guelfey merged commit 528bc14 into godbus:master Dec 23, 2022
@felixonmars felixonmars deleted the decodeu branch December 23, 2022 14:54
@marselester
Copy link
Contributor

Sorry about introducing a bug. Thank you for fixing it 👍.

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.

3 participants