diff options
author | Jiri Kucera <jkucera@redhat.com> | 2019-12-01 01:22:19 +0100 |
---|---|---|
committer | XinfengZhang <carl.zhang@intel.com> | 2020-05-25 22:13:41 +0800 |
commit | deb43699e90c5e0ab46f83bb975cca87a6fe9147 (patch) | |
tree | d368f804f533040f20f6436d3c7ed3392ea46e7a /.gitignore | |
parent | 0014ada0eb0fd09a0dd928e5a132ecf12ed85c2e (diff) | |
download | libva-deb43699e90c5e0ab46f83bb975cca87a6fe9147.tar.gz |
Fix clang warning (reading garbage)
In function `vaCopySurfaceGLX_impl_libva`, if `pSurfaceGLX->gl_context`
points to `struct OpenGLContextState` memory object with all its members
set to 0, the first call of `gl_set_current_context` returns true
without setting the `old_cs`. Then, in the following next call of
`gl_set_current_context`, `&old_cs` will point to random data on the
stack.
Similarly for `vaDestroySurfaceGLX_impl_libva`.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions