« Previous | Next » 

Revision ce7f7cc2

IDce7f7cc2715145eadf1ac45a5dae63f535fc8bbf

Added by Luiz Capitulino about 11 years ago

qemu-ga: ga_get_fd_handle(): abort if fd_counter overflows

Today we reset fd_counter if it wraps, but it's better to abort()
instead, as fd_counter should never reach INT64_MAX.

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Eric Blake <>

*fixed typo: s/resonable/reasonable/

Signed-off-by: Michael Roth <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences