Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Pipelining of commands may cause coredump on processors that require alignemt #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The binary protocol tries to cast the rcurr pointer to a structure and
dereference the structure. This does not work very well if rcurr points to
an unaligned address. This will only occur if you are pipelining multiple
commands so that read may return data for more than one memcached command.

Original issue reported on code.google.com by trond.no...@gmail.com on 27 Nov 2008 at 8:22

GoogleCodeExporter commented 9 years ago
Fixed in:
http://github.com/trondn/memcached/commit/4c3797b1d4fe9088ef96c9f7d571b1221cb40f
ef

Original comment by trond.no...@gmail.com on 4 Dec 2008 at 1:40