SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
security/strobe/patches/patch-strobe_c
Normal file
11
security/strobe/patches/patch-strobe_c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- strobe.c.orig Sun Mar 21 06:49:27 1999
|
||||
+++ strobe.c Tue Jan 20 03:27:42 2015
|
||||
@@ -1297,7 +1297,7 @@ loaddescs ()
|
||||
exit (1);
|
||||
}
|
||||
port_descs=(struct port_desc_s **) Smalloc(sizeof(struct port_descs_s *) * 65536);
|
||||
- memset(port_descs, 0, 65536);
|
||||
+ memset(port_descs, 0, sizeof(struct port_descs_s *) * 65536);
|
||||
while (fgets (lbuf, sizeof (lbuf), fh))
|
||||
{
|
||||
char *p;
|
Loading…
Add table
Add a link
Reference in a new issue