Russell-IO / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

memset typo #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure this matters, but the memset in the first line of main() has the
2nd and 3rd operands swapped.
Current:
 memset(&s3fs_oper, sizeof(s3fs_oper), 0);
Should be:
 memset(&s3fs_oper, 0, sizeof(s3fs_oper));

Original issue reported on code.google.com by erb.da...@gmail.com on 6 Aug 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Attaching patch to fix issue 66

Looks like the intent was to zero out the contents of the "fuse_operations" 
data structure. Obvious typo.

Original comment by moore...@gmail.com on 16 Oct 2010 at 5:46

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dmoore4...@gmail.com on 18 Oct 2010 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by dmoore4...@gmail.com on 18 Oct 2010 at 8:36

GoogleCodeExporter commented 9 years ago
Applied supplied patch to fix this issue.  r195

Original comment by dmoore4...@gmail.com on 18 Oct 2010 at 8:56