Skip to content

Cross-Site Scripting: Reflected in tcp.go #11536

Open
@hpraj2786

Description

@hpraj2786

Source Location : tcp.go:110
Code Snippet:
clientConn.Close()
} else {
_, err = clientConn.Write(data[:length])
if err != nil {
klog.Errorf("Error writing the first 4k of proxy data: %v", err)

Source Location: tcp.go:65

Code Snippet:
data := make([]byte, 16384)

length, err := conn.Read(data)
if err != nil {
	klog.V(4).ErrorS(err, "Error reading data from the connection")

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs-kindIndicates a PR lacks a `kind/foo` label and requires one.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions