mbox series

[0/4] Fix some coverity issues on VDUSE

Message ID 20220627090203.87-1-xieyongji@bytedance.com
Headers show
Series Fix some coverity issues on VDUSE | expand

Message

Yongji Xie June 27, 2022, 9:01 a.m. UTC
This series fixes some issues reported by coverity.

Patch 1 fixes an incorrect function name.

Patch 2 fixes Coverity CID 1490224.

Patch 3 fixes Coverity CID 1490226, 1490223.

Patch 4 fixes Coverity CID 1490222, 1490227.

Xie Yongji (4):
  libvduse: Fix the incorrect function name
  libvduse: Replace strcpy() with strncpy()
  libvduse: Pass positive value to strerror()
  libvduse: Check the return value of some ioctls

 subprojects/libvduse/libvduse.c | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)