Hi,
this is no bug in libv4l but a shortcoming in valgrind.
IOCTL doc:
To query the current parameters applications set the type field of a struct
v4l2_format to the respective buffer (stream) type.
CODE:
struct v4l2_format fmt;
...
fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
if (SYS_IOCTL(fd, VIDIOC_G_FMT, &fmt)) {
So it is completely legal to just initialize the 'type' field.
I suggest to either close this bug or reassign to valgrind.
Thanks,
Gregor
--
Syscall param ioctl(generic) points to uninitialised byte(s) in v4l2_fd_open
https://bugs.launchpad.net/bugs/432477
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs