-
Notifications
You must be signed in to change notification settings - Fork 19.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f77eb8
commit c5b0c71
Showing
9 changed files
with
19 additions
and
507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
179 changes: 0 additions & 179 deletions
179
...ervices/dnsmasq/patches/001-CVE-2022-0934-Fix-write-after-free-error-in-DHCPv6-code.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ Signed-off-by: Kevin Darbyshire-Bryant <[email protected]> | |
|
||
--- a/src/dnsmasq.c | ||
+++ b/src/dnsmasq.c | ||
@@ -95,10 +95,6 @@ int main (int argc, char **argv) | ||
@@ -103,10 +103,6 @@ int main (int argc, char **argv) | ||
|
||
read_opts(argc, argv, compile_opts); | ||
|
||
|
@@ -26,7 +26,7 @@ Signed-off-by: Kevin Darbyshire-Bryant <[email protected]> | |
|
||
--- a/src/dnsmasq.h | ||
+++ b/src/dnsmasq.h | ||
@@ -1201,7 +1201,7 @@ extern struct daemon { | ||
@@ -1229,7 +1229,7 @@ extern struct daemon { | ||
int inotifyfd; | ||
#endif | ||
#if defined(HAVE_LINUX_NETWORK) | ||
|
@@ -35,7 +35,7 @@ Signed-off-by: Kevin Darbyshire-Bryant <[email protected]> | |
#elif defined(HAVE_BSD_NETWORK) | ||
int dhcp_raw_fd, dhcp_icmp_fd, routefd; | ||
#endif | ||
@@ -1388,9 +1388,6 @@ int read_write(int fd, unsigned char *pa | ||
@@ -1422,9 +1422,6 @@ int read_write(int fd, unsigned char *pa | ||
void close_fds(long max_fd, int spare1, int spare2, int spare3); | ||
int wildcard_match(const char* wildcard, const char* match); | ||
int wildcard_matchn(const char* wildcard, const char* match, int num); | ||
|
@@ -140,7 +140,7 @@ Signed-off-by: Kevin Darbyshire-Bryant <[email protected]> | |
my_syslog(LOG_ERR, _("failed to update ipset %s: %s"), setname, strerror(errno)); | ||
--- a/src/util.c | ||
+++ b/src/util.c | ||
@@ -796,22 +796,3 @@ int wildcard_matchn(const char* wildcard | ||
@@ -833,22 +833,3 @@ int wildcard_matchn(const char* wildcard | ||
|
||
return (!num) || (*wildcard == *match); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c5b0c71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
仍然没修复这个问题felixonmars/dnsmasq-china-list#227 (comment)
c5b0c71
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个花点时间的适配一下