[Spice-devel] [spice-server PATCH 0/8] More coverity fixes

Uri Lublin uril at redhat.com
Sun Oct 16 11:44:47 UTC 2016


This patch-set contains mostly patches that fix/related-to
coverity issues.

Uri Lublin (8):
  current_remove: rename internal variable 'container'
  image_encoders: check shared_dict before accessing it
  input-channel: add a comment to mark fallthrough in switch
  main-channel: getpeername/getsockname return early if no sockfd
  mjpeg_encoder_new: allocate memory after sanity check
  red_get_image_data_flat: allocate mem after sanity check
  red-record-qxl: replace continue with empty block
  red-record-qxl: child_output_setup: check fcntl return value

 server/display-channel.c |  6 +++---
 server/image-encoders.c  |  6 ++++--
 server/inputs-channel.c  |  1 +
 server/main-channel.c    | 16 ++++++++++++++--
 server/mjpeg-encoder.c   |  3 ++-
 server/red-parse-qxl.c   | 11 +++++++----
 server/red-record-qxl.c  | 11 ++++++++---
 7 files changed, 39 insertions(+), 15 deletions(-)

-- 
2.7.4



More information about the Spice-devel mailing list