[packages/dsniff] - fixed pointer arithmetic bug

adwol adwol at pld-linux.org
Sat Jan 1 14:19:24 CET 2022


commit e120fb2ceb99c78738795012034ada1a24bc17df
Author: Adam Osuchowski <adwol at 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



More information about the pld-cvs-commit mailing list