Files
yggdrasil-go/src/core
Alex Melan bc72b106b7 fix: reject malformed network input in parsers (#1340)
## Summary
- validate handshake metadata field lengths before fixed-size reads
- reject truncated multicast advertisements before slicing the hash
payload
- add regression tests for malformed and truncated input

## Why
Both parsers currently trust length information from the incoming
payload a bit too much. Malformed network input can reach fixed-size
reads/slices and panic the process instead of being rejected cleanly.

## Testing
- go test ./...
2026-04-11 12:04:12 +01:00
..
2026-01-18 14:51:52 +00:00
2026-01-18 14:51:52 +00:00
2023-11-28 13:24:54 +00:00
2026-01-18 14:51:52 +00:00
2026-01-18 14:51:52 +00:00
2026-01-18 15:04:28 +00:00
2026-01-18 14:51:52 +00:00
2024-11-17 21:14:54 +00:00
2026-01-18 14:51:52 +00:00
2026-01-18 14:51:52 +00:00
2026-02-23 22:55:06 +00:00
2026-01-18 14:51:52 +00:00
2024-11-17 21:14:54 +00:00
2023-05-21 12:49:49 -05:00
2023-10-15 23:06:10 +01:00