Skip to content

service: do not leak uninitialized data in SRV record#27

Open
erikrk wants to merge 1 commit into
openwrt:masterfrom
erikrk:srv-memset-master
Open

service: do not leak uninitialized data in SRV record#27
erikrk wants to merge 1 commit into
openwrt:masterfrom
erikrk:srv-memset-master

Conversation

@erikrk
Copy link
Copy Markdown

@erikrk erikrk commented May 5, 2026

The priority and weight fields will be set to zero in accordance with behavior prior to introduction of the bug where calloc was used and in accordance with RFC 6763 Section 5 which prescribes priority and weight of zero for a single SRV record.

Fixes: cef2502 ("fix excessive stack usage")

The priority and weight fields will be set to zero in accordance with
behavior prior to introduction of the bug where calloc was used and in
accordance with RFC 6763 Section 5 which prescribes priority and weight
of zero for a single SRV record.

Fixes: cef2502 ("fix excessive stack usage")
Signed-off-by: Erik Karlsson <erik.karlsson@iopsys.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant