diff options
Diffstat (limited to 'security/strobe/files/patch-strobe.c')
-rw-r--r-- | security/strobe/files/patch-strobe.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/strobe/files/patch-strobe.c b/security/strobe/files/patch-strobe.c new file mode 100644 index 000000000000..d837bb999738 --- /dev/null +++ b/security/strobe/files/patch-strobe.c @@ -0,0 +1,11 @@ +--- strobe.orig 2010-03-13 19:26:31.000000000 +0100 ++++ strobe.c 2010-03-13 19:27:06.000000000 +0100 +@@ -1297,7 +1297,7 @@ + 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; |