mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-05 22:36:13 +08:00
update 2024-03-26 19:58:19
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ddns-go
|
||||
PKG_VERSION:=6.2.2
|
||||
PKG_VERSION:=6.3.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/jeessy2/ddns-go/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=9c1ccfe60ea1e6fc81d2905b5ef7c7bd403a1858de4f0d3aed81e57bce8cfaa0
|
||||
PKG_HASH:=307a0b045f3631b0f67d566903b80d0ecdd47c8159000ee0d93debe3c59097a0
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
15
shadowsocksr-libev/patches/104-fix-use-after-free.patch
Normal file
15
shadowsocksr-libev/patches/104-fix-use-after-free.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/server/server.c
|
||||
+++ b/server/server.c
|
||||
@@ -1942,11 +1942,11 @@ main(int argc, char **argv)
|
||||
text = (char*)malloc(strlen(protocol) - 11);
|
||||
memcpy(text, protocol, strlen(protocol) - 11);
|
||||
int length = strlen(protocol) - 11;
|
||||
- free(protocol);
|
||||
obfs = (char*)malloc(length);
|
||||
memset(protocol, 0x00, length);
|
||||
memcpy(protocol, text, length);
|
||||
LOGI("protocol compatible enable, %s", protocol);
|
||||
+ free(protocol);
|
||||
free(text);
|
||||
protocol_compatible = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user