mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
e097b7f8ff
queue_io_read() may be reentered via the queue callback, recoverd is particularly guilty of this. queue_io_read() is not safe for reentry if more than one packet is received and partial chunks follow - data read off the pipe on re-entry is assumed to be the start-of-packet four byte length. This leads to a wrongly aligned stream and the notorious "Invalid packet of length 0" errors. This change fixes queue_io_read() to be safe under reentry, only a single packet is processed per call. https://bugzilla.samba.org/show_bug.cgi?id=8319 (This used to be ctdb commit 9ea41d2fab612772f861270c8a59c01c43bd3a4c) |
||
---|---|---|
.. | ||
cmdline.c | ||
ctdb_io.c | ||
ctdb_logging.c | ||
ctdb_ltdb.c | ||
ctdb_message.c | ||
ctdb_util.c | ||
rb_tree.c | ||
rb_tree.h | ||
system_aix.c | ||
system_common.c | ||
system_linux.c |