Skip to content
Snippets Groups Projects

wire_ctx: refactor to reduce duplication and UB

Merged Vladimír Čunát requested to merge wire_ctx-refactor into master

It was using misaligned pointers which causes undefined behavior, at least theoretically.

API change: data in wire_ctx_read() is now passed as void* instead of uint8_t*, and it zeroes the data on error.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading