one icon indicating copy to clipboard operation
one copied to clipboard

Chech rc while reading from driver

Open sminux opened this issue 6 months ago • 0 comments

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

sminux avatar Aug 11 '24 21:08 sminux