Skip to content

store to misaligned address #1

@rriggs

Description

@rriggs

Code compiled with GCC's Address Sanitizer is reporting a number of misaligned address errors in boost/net/network_array.hpp.

boost/net/network_array.hpp:254:11: runtime error: store to misaligned address 0x7ffffabf99d1 for type 'uint16_t', which requires 2 byte alignment
boost/net/network_array.hpp:230:15: runtime error: load of misaligned address 0x61600000ccc1 for type 'uint16_t', which requires 2 byte alignment
boost/net/network_array.hpp:283:15: runtime error: load of misaligned address 0x61600000cccb for type 'uint32_t', which requires 4 byte alignment
boost/net/network_array.hpp:336:43: runtime error: load of misaligned address 0x616000008227 for type 'uint32_t', which requires 4 byte alignment

SUMMARY: AddressSanitizer: undefined-behavior boost/net/network_array.hpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions