[Bugs] [Bug 1215161] New: rpc: Memory corruption because rpcsvc_register_notify interprets opaque mydata argument as xlator pointer
bugzilla at redhat.com
bugzilla at redhat.com
Fri Apr 24 13:10:17 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1215161
Bug ID: 1215161
Summary: rpc: Memory corruption because rpcsvc_register_notify
interprets opaque mydata argument as xlator pointer
Product: GlusterFS
Version: mainline
Component: rpc
Assignee: bugs at gluster.org
Reporter: khiremat at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
Memory corruption might happen to mydata argument passed while registering with
rpc using following routine as it interprets mydata as xlator pointer.
int
rpcsvc_register_notify (rpcsvc_t *svc, rpcsvc_notify_t notify, void *mydata)
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Possible Memory corruption of mydata
Expected results:
mydata should not be interpreted as xlator pointer and should not be touched.
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list