Skip to content

Conversation

@jesterhodl
Copy link
Contributor

This attempts to fix #30 by:

  • consolidating read_u32_le(), read_u64_le(), write_u32_le(), write_u64_le()
  • renames them to deserialize/serialize to avoid conflicts with protocol/serialize.c functions with the same name, but different type and signature
  • removes UBSan bug from deserialize_header() by using deserialize_u32_le()

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.

src/storage/block_index_db.c:242:67: runtime error: left shift of 153 by 24 places cannot be represented in type 'int'

1 participant