Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux linux/hdmi: Fix buffer o...
details: https://anonhg.NetBSD.org/src/rev/8b9957292b25
branches: trunk
changeset: 1028683:8b9957292b25
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:45:27 2021 +0000
description:
linux/hdmi: Fix buffer overrun with index typo.
diffstat:
sys/external/bsd/drm2/include/linux/hdmi.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7c7735242354 -r 8b9957292b25 sys/external/bsd/drm2/include/linux/hdmi.h
--- a/sys/external/bsd/drm2/include/linux/hdmi.h Sun Dec 19 11:45:20 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/hdmi.h Sun Dec 19 11:45:27 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdmi.h,v 1.12 2021/12/19 11:45:20 riastradh Exp $ */
+/* $NetBSD: hdmi.h,v 1.13 2021/12/19 11:45:27 riastradh Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -558,7 +558,7 @@
p[3] = __SHIFTIN(0x2, __BITS(6,5));
p[4] = __SHIFTIN(frame->s3d_struct, __BITS(7,4));
if (frame->s3d_struct >= HDMI_3D_STRUCTURE_SIDE_BY_SIDE_HALF)
- p[9] = __SHIFTIN(frame->s3d_ext_data, __BITS(7,4));
+ p[5] = __SHIFTIN(frame->s3d_ext_data, __BITS(7,4));
} else {
p[3] = __SHIFTIN(0x1, __BITS(6,5));
p[4] = frame->vic;
Home |
Main Index |
Thread Index |
Old Index