• E
    remote: protect against integer overflow · 774b21c1
    Eric Blake 提交于
    Integer overflow and remote code are never a nice mix.
    
    This has existed since commit 56cd4140.
    
    * src/libvirt.c (virDomainGetVcpus): Reject overflow up front.
    * src/remote/remote_driver.c (remoteDomainGetVcpus): Avoid overflow
    on sending rpc.
    * daemon/remote.c (remoteDispatchDomainGetVcpus): Avoid overflow on
    receiving rpc.
    774b21c1
remote_driver.c 207.5 KB