Files
xserver/os
Enrico Weigelt, metux IT consult 435de433cd os: io: fix NULL output buffer after FlushClient()
FlushClient() does drops the output buffer, when it becomes empty.
This previously wasn't any problem and actually intented, because we've
returned from the write path directly after FlushClient() was called.

But now we've changed the call order, so it's called from within
OutputBufferMakeRoom(), so we need to make sure we always got valid
output buffer before trying to access it.

For the future, we should think about whether dropping output buffers
really makes sense at all. Instead we could leave them as they are
(over the client's lifetime) and maybe just trim when they've went
too big.

Fixes: 1c13cfa6ca
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-07 14:00:25 +02:00
..
2025-06-12 16:49:45 +02:00
2024-04-15 19:54:34 +00:00
2024-10-10 13:38:31 +00:00
2025-07-18 22:24:55 +02:00
2025-08-04 15:55:36 +02:00
2024-05-08 09:37:35 +02:00
2024-03-09 17:34:51 +00:00
2025-06-12 17:21:44 +02:00
2025-06-12 17:21:46 +02:00
2025-06-12 17:21:48 +02:00
2025-08-04 15:55:36 +02:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-06-12 17:21:44 +02:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-06-12 16:49:45 +02:00
2025-02-23 17:46:13 +00:00
2025-08-07 12:40:35 +02:00
2025-07-31 17:01:10 +02:00
2025-06-12 16:49:45 +02:00
2024-03-03 23:11:05 +00:00
2025-08-07 12:40:35 +02:00