From 291455871e3ef0c1967b8aa9b6d480fa00507983 Mon Sep 17 00:00:00 2001 From: Felix Schmidt Date: Mon, 21 Jun 2021 06:37:50 +0200 Subject: [PATCH 1/2] Fix tinysvcmdns: rr_data_len goes beyond packet buffer --- tinysvcmdns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tinysvcmdns.c b/tinysvcmdns.c index 9e605e07..55e82ad2 100644 --- a/tinysvcmdns.c +++ b/tinysvcmdns.c @@ -735,7 +735,8 @@ static size_t mdns_parse_rr(uint8_t *pkt_buf, size_t pkt_len, size_t off, struct if (name == NULL) goto err; - // parse the MDNS RR section p += label_len(pkt_buf, pkt_len, off); + // parse the MDNS RR section + p += label_len(pkt_buf, pkt_len, off); rr->name = name; rr->type = mdns_read_u16(p); From dd0c73798737c3ce93ddbad63450367a4ab1032d Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 22 Jul 2021 14:30:17 +0100 Subject: [PATCH 2/2] Update CAR INSTALL.md --- CAR INSTALL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CAR INSTALL.md b/CAR INSTALL.md index a9617b66..e52d8d4a 100644 --- a/CAR INSTALL.md +++ b/CAR INSTALL.md @@ -92,6 +92,7 @@ A number of packages to enable the Pi to work as a WiFi base station are needed: ``` Disable both of these services from starting at boot time (this is because we will launch them sequentially later on): ``` +# systemctl unmask hostapd # systemctl disable hostapd # systemctl disable isc-dhcp-server ```