one
one copied to clipboard
Chech rc while reading from driver
Description Variable 'rc', which might receive a negative value at Driver.h:315 https://github.com/OpenNebula/one/blob/3d527c396824f38039f8ad23eab7752e23677c71/include/Driver.h#L315 by calling function 'read', is used without checking at Driver.h:317 https://github.com/OpenNebula/one/blob/3d527c396824f38039f8ad23eab7752e23677c71/include/Driver.h#L317
Details
- Hypervisor: KVM
- Version: master or development