[Spice-devel] [PATCH v2 0/8] Improve error handling in red-replay-qxl.c
Frediano Ziglio
fziglio at redhat.com
Thu Sep 15 22:19:32 UTC 2016
Detect error in files and handle more gracefully.
This version:
- split the previous one;
- update it;
- fix different observations from Christophe.
The last patch still contains the "old style". Could be
true that if chaining could be not that readable but
I'm not a big fun of too many goto either.
Frediano Ziglio (8):
replay: Rename eof to error
replay: Record allocations in a GList to handle errors
replay: Handle errors reading strings from record file
replay: Detect errors from red_replay_data_chunks
replay: Remove useless check
replay: Assure read_binary receives a NULL pointer
replay: Update pointer in allocated list
replay: Propagate error correctly in replay_fread
server/red-replay-qxl.c | 249 ++++++++++++++++++++++++++++++++++++------------
1 file changed, 188 insertions(+), 61 deletions(-)
--
2.7.4
More information about the Spice-devel
mailing list