xf86-video-v4l: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 8 04:13:02 UTC 2018


 src/v4l.c |   28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

New commits:
commit b3244827d97c6659842544b9cc175631e13ae8f3
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 8 13:06:41 2018 +1000

    Fix ioctl return value handling
    
    Found by coverity
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Dave Airlie <airlied at redhat.com>

commit 3370b6b6a41a27123a45b95ba4820395127c84e7
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 8 13:05:09 2018 +1000

    Fix handling of realloc failure
    
    Coverity complaint and whatnot
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Dave Airlie <airlied at redhat.com>

commit a020fda02fd0aca0c53b2368e6602bbd12002936
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 8 12:55:57 2018 +1000

    Ensure the device name is null-terminated
    
    And expand the size to 18, because the stack array we copied this into is 18
    bytes long. This covers us for up to 999 (kernel) v4l devices and that is
    definitely not a reason to use the "640k ought to be enough" meme.
    
    Found by - you guessed it - coverity!
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Dave Airlie <airlied at redhat.com>

commit 3f9022bdfe3d720ea27cb688512b4672d26a6dd6
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Oct 8 12:55:37 2018 +1000

    Remove unused variable osname
    
    Coverity is unhappy and there's enough unhappiness in this world already, so
    let's go for the low-hanging fruit.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Dave Airlie <airlied at redhat.com>



More information about the xorg-commit mailing list