Skip to content

Misaligned pointer in IPV4 #10

@btoms20

Description

@btoms20

What:

  • Received a misaligned raw pointer error on Linux (jammy) w/ Swift 6.0

Where:

  • swift-multiaddr/Sources/Multiaddr/Protocol Helpers/IPV4.swift:51:16
extension Data {
    var uint32: UInt32 {
        return withUnsafeBytes {
            $0.load(as: UInt32.self)
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions