You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/12/20 08:40:17 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #7924: video/fb: initializes the info structure

pkarashchenko commented on code in PR #7924:
URL: https://github.com/apache/nuttx/pull/7924#discussion_r1053043472


##########
drivers/video/fb.c:
##########
@@ -388,6 +388,7 @@ static int fb_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
 
           DEBUGASSERT(fb->vtable != NULL &&
                       fb->vtable->getoverlayinfo != NULL);
+          memset(&oinfo, 0, sizeof(oinfo));

Review Comment:
   So the `getoverlayinfo` is not setting all the fields?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org