[PATCH v2 0/8] Improve error handling in red-replay-qxl.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]