X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-support%2Fdnsmasq%2Fdnsmasq%2Fstx%2Fdnsmasq-2.76-fix-crash-dns-resume.patch;fp=meta-stx%2Frecipes-support%2Fdnsmasq%2Fdnsmasq%2Fstx%2Fdnsmasq-2.76-fix-crash-dns-resume.patch;h=0000000000000000000000000000000000000000;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=2857de0c1174009e9f72821ceeb2e3768a78b5b5;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-stx/recipes-support/dnsmasq/dnsmasq/stx/dnsmasq-2.76-fix-crash-dns-resume.patch b/meta-stx/recipes-support/dnsmasq/dnsmasq/stx/dnsmasq-2.76-fix-crash-dns-resume.patch deleted file mode 100644 index 2857de0..0000000 --- a/meta-stx/recipes-support/dnsmasq/dnsmasq/stx/dnsmasq-2.76-fix-crash-dns-resume.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 16800ea072dd0cdf14d951c4bb8d2808b3dfe53d Mon Sep 17 00:00:00 2001 -From: Simon Kelley -Date: Tue, 30 Aug 2016 23:07:06 +0100 -Subject: [PATCH] Fix crash introduced in - 2675f2061525bc954be14988d64384b74aa7bf8b - ---- - src/network.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/network.c b/src/network.c -index ddf8d31..d87d08f 100644 ---- a/src/network.c -+++ b/src/network.c -@@ -1516,8 +1516,9 @@ void check_servers(void) - serv->flags |= SERV_MARK; - continue; - } -- -- serv->sfd->used = 1; -+ -+ if (serv->sfd) -+ serv->sfd->used = 1; - } - - if (!(serv->flags & SERV_NO_REBIND) && !(serv->flags & SERV_LITERAL_ADDRESS)) --- -2.9.3 -