commit e120fb2ceb99c78738795012034ada1a24bc17df Author: Adam Osuchowski <ad...@pld-linux.org> Date: Sat Jan 1 14:18:10 2022 +0100
- fixed pointer arithmetic bug debian.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/debian.patch b/debian.patch index 6661acf..3720bd5 100644 --- a/debian.patch +++ b/debian.patch @@ -2273,7 +2273,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ + break; + free(*ifaces); + ifaces_size *= 2; -+ ifaces = malloc(ifaces_size); ++ *ifaces = malloc(ifaces_size); + } + *count = param.ifc_len / sizeof(struct ifreq); + close(sock); ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/dsniff.git/commitdiff/e120fb2ceb99c78738795012034ada1a24bc17df _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit