Emmanuel,

The patch is attached. Basically, the readdirplus state machine calls the 
readdir nested state machine. Both tried to access members of the same union, 
with one state machine referring to sm_p->u.readdir and the other referring to 
sm_p->u.readdirplus, thus causing a memory overwrite.

Please let me know if this helps with the issue you are seeing through NFS.

Thanks,
Elaine

-----Original Message-----
From: Emmanuel Florac [mailto:[email protected]] 
Sent: Thursday, December 06, 2012 4:37 PM
To: Elaine Quarles
Cc: [email protected]
Subject: Re: [Pvfs2-developers] readdir fails through NFS

Le Wed, 5 Dec 2012 16:16:59 -0500 vous écriviez:

>  I can put together a patch for this fix if you want to try it.

Sure! And tell me where to look so I can give it a try too :) I'll try to debug 
the issue tomorrow (running 2.8.6 on kernel 3.2.34).

--
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |   <[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

Attachment: readdir.patch
Description: Binary data

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to