- 31 Aug, 2015 1 commit
-
-
José Hiram Soltren authored
This patch is in response to the following security vulnerabilities (CVEs) reported to NVIDIA against libvdpau: CVE-2015-5198 CVE-2015-5199 CVE-2015-5200 To address these CVEs, this patch: - replaces all uses of getenv(3) with secure_getenv(3); - uses secure_getenv(3) when available, with a fallback option; - protects VDPAU_DRIVER against directory traversal by checking for '/' On platforms where secure_getenv(3) is not available, the C preprocessor will print a warning at compile time. Then, a preprocessor macro will replace secure_getenv(3) with our getenv_wrapper(), which utilizes the check: getuid() == geteuid() && getgid() == getegid() See getuid(2) and getgid(2) for further details. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Florian Weimer <fweimer@redhat.com>
-
- 27 May, 2015 1 commit
-
-
Bibhuti Prusty authored
Signed-off-by: Bibhuti Bhushan Prusty <bprusty@nvidia.com> Reviewed-by: José Hiram Soltren <jsoltren@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 09 Sep, 2014 1 commit
-
-
Robert Morell authored
vdpau_trace.cpp: In function 'void _vdp_cap_dump_video_mixer_attribute_value(VdpVideoMixerAttribute, const void*, bool)': vdpau_trace.cpp:539:48: error: cast from type 'const void*' to type 'const float (**)[3][4]' casts away qualifiers [-Werror=cast-qual] ptr = *(VdpCSCMatrix const * *)value; ^ vdpau_trace.cpp: In function 'void _vdp_cap_dump_bitstream_buffer_list(uint32_t, const VdpBitstreamBuffer*)': vdpau_trace.cpp:1175:52: error: cast from type 'const void* const' to type 'uint8_t* {aka unsigned char*}' casts away qualifiers [-Werror=cast-qual] uint8_t * ptr = (uint8_t * )buffers[0].bitstream; ^ Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 19 Jul, 2014 1 commit
-
-
Emil Velikov authored
The following three were never a part of the public API and as such should have never been exported by libvdpau_trace.so Correct that by marking them as static, thus allowing the compiler to hide them from the exported namespace. _vdp_cap_init_planes_adapt_surface_video _vdp_cap_init_planes_adapt_surface_bitmap _vdp_cap_init_planes_adapt_surface_output Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 28 Jan, 2014 1 commit
-
-
Emil Velikov authored
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 01 Aug, 2013 1 commit
-
-
Aaron Plattner authored
Nothing actually uses VdpPoint, so this tracing function was never called. I left the VdpPoint type in vdpau.h for now, just in case anyone actually uses it themselves. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 02 Feb, 2013 1 commit
-
-
Kiran Pawar authored
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 28 Jan, 2010 1 commit
-
-
Stephen Warren authored
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-
- 04 Sep, 2009 1 commit
-
-
Aaron Plattner authored
Add profiles for MPEG-4 part 2, DivX 4, and DivX 5. Also add new high quality scaling options.
-
- 08 Jul, 2009 1 commit
-
-
Aaron Plattner authored
-
- 15 Mar, 2009 2 commits
-
-
Aaron Plattner authored
-
Aaron Plattner authored
I forgot to include this change in commit 1290f7c1.
-
- 14 Jan, 2009 1 commit
-
-
Aaron Plattner authored
-