]> git.pld-linux.org Git - packages/dsniff.git/commitdiff
- fixed pointer arithmetic bug auto/th/dsniff-2.4-0.b1.31
authorAdam Osuchowski <adwol@pld-linux.org>
Sat, 1 Jan 2022 13:18:10 +0000 (14:18 +0100)
committerAdam Osuchowski <adwol@pld-linux.org>
Sat, 1 Jan 2022 13:18:10 +0000 (14:18 +0100)
debian.patch

index 6661acfd618d412279a1e24c4cdcc5e4bc2d51db..3720bd5c5077e5db16ee8c35f455f25379e934c3 100644 (file)
@@ -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);
This page took 0.108034 seconds and 4 git commands to generate.