Skip to content

UDP socket sends garbage when excess length is specified #40491

Description

@farteryhr

Version

v14.18.1

Platform

Microsoft Windows NT 10.0.19042.0 x64

Subsystem

No response

What steps will reproduce the bug?

https://www.cnblogs.com/ay-a/p/9822268.html

udp_client.send(SendBuff, 0, SendLen, 5678, '172.30.20.10');

Basically produces with the simplest setup, just add some magic to sendLen in client code.

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

nice question. error? zero padding? truncation?

What do you see instead?

horrific screenshot.png

Additional information

wondering should this go in security?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dgramIssues and PRs related to UDP and the dgram module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions