summaryrefslogtreecommitdiff
path: root/dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-01 23:43:48 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-05-01 23:43:48 +0000
commit08ebdab3ab6dc524ef27c1d9e0e6d4979e95304c (patch)
tree0137fce21757cf62fa1769899618e505bd8c2ac0 /dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch
parent5bb33a921d80ce8fc7eac8eb600341be4ba2d054 (diff)
downloadsrcux-08ebdab3ab6dc524ef27c1d9e0e6d4979e95304c.tar.gz
srcux-08ebdab3ab6dc524ef27c1d9e0e6d4979e95304c.tar.xz
srcux-08ebdab3ab6dc524ef27c1d9e0e6d4979e95304c.zip
Adding metadata
Diffstat (limited to 'dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch')
-rw-r--r--dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch b/dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch
deleted file mode 100644
index e68b00576cdb..000000000000
--- a/dev-cpp/commoncpp2/files/1.8.1-fix-buffer-overflow.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/inaddr.cpp b/src/inaddr.cpp
-index 5a4b9c4..50127f3 100644
---- a/src/inaddr.cpp
-+++ b/src/inaddr.cpp
-@@ -333,7 +333,7 @@ void IPV4Address::setAddress(const char *host)
- if(ipaddr)
- delete[] ipaddr;
- ipaddr = new struct in_addr[1];
-- memset((void *)&ipaddr[0], 0, sizeof(ipaddr));
-+ memset((void *)&ipaddr[0], 0, sizeof(*ipaddr));
- return;
- }
-