mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-07 06:15:28 -04:00
prevent stack copy
This commit is contained in:
@@ -226,6 +226,7 @@ func (p *addressParser) readAddress(b *buf.Buffer, reader io.Reader) (net.Addres
|
||||
}
|
||||
}
|
||||
|
||||
//go:nosplit
|
||||
func (p *addressParser) writeAddress(writer io.Writer, address net.Address) error {
|
||||
tb := p.addrByteMap[address.Family()]
|
||||
if tb == afInvalid {
|
||||
|
||||
Reference in New Issue
Block a user