[Pvfs2-developers] Codegen.c hash function -

walt walt at CLEMSON.EDU
Mon May 26 22:51:41 EDT 2008


I'll look at it when I get in tomorrow, but it is probably OK.

Just curious, why are you looking at the code in the state machine compiler?

Walt

David Bonnie wrote:
> Hey all -
> 
> I'm looking through the state machine code generator in codegen.c and it
> seems that the hash function used does the same thing as the string hash
> bug I found earlier this month (using h uninitialized).  I imagine it'd be
> a rare case when it happens but using uninitialized memory could lead to
> the hash generating different hashes for the same string.  The variable in
> question is on line 130.  Would there be any ramifications I'm not
> thinking of with fixing it so that it's consistent?
> 
> - Dave
> 
> 
> 
> 
> _______________________________________________
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: walt.vcf
Type: text/x-vcard
Size: 229 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20080526/0688f4f6/walt.vcf


More information about the Pvfs2-developers mailing list