Skip to content

_recv_raw is breaking ISOTPNativeSockets #2425

@polybassa

Description

@polybassa

@gpotter2
Hi, on some hardware in the loop tests, we discovered the following error:

WARNING: Socket <scapy.contrib.isotp.ISOTPNativeSocket object at 0x7319dc70> failed with 'unpack requires a buffer of 16 bytes'. It was closed.

We assume this error is fired from this line:

tmp = struct.unpack("iiii", cmsg_data)

Unfortunately, I don't know exactly whats going on here, but my ISOTPNativeSockets get closed on a receive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions