OSDN Git Service
(root)
/
android-x86
/
external-minigbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c960fac
)
Fix potential uninitialized read am: 6acf248c84
author
Greg Hartman
<ghartman@google.com>
Thu, 18 Jul 2019 03:45:20 +0000
(20:45 -0700)
committer
android-build-merger
<android-build-merger@google.com>
Thu, 18 Jul 2019 03:45:20 +0000
(20:45 -0700)
am:
1c4a1cf7e4
Change-Id: I372f5d9c878cda0512eaa6ea475cfb39949106d1
helpers.c
patch
|
blob
|
history
diff --git
a/helpers.c
b/helpers.c
index
4fabfa9
..
592981d
100644
(file)
--- a/
helpers.c
+++ b/
helpers.c
@@
-520,7
+520,8
@@
void drv_modify_combination(struct driver *drv, uint32_t format, struct format_m
struct drv_array *drv_query_kms(struct driver *drv)
{
struct drv_array *kms_items;
- uint64_t plane_type, use_flag;
+ uint64_t plane_type = UINT64_MAX;
+ uint64_t use_flag;
uint32_t i, j, k;
drmModePlanePtr plane;