1. 31 Aug, 2015 1 commit
    • José Hiram Soltren's avatar
      Use secure_getenv(3) to improve security · d1f9c16b
      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: default avatarAaron Plattner <aplattner@nvidia.com>
      Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
      d1f9c16b
  2. 11 May, 2015 2 commits
  3. 16 Mar, 2015 1 commit
  4. 09 Mar, 2015 1 commit
  5. 19 Dec, 2014 1 commit
  6. 04 Nov, 2014 1 commit
  7. 01 Jul, 2014 1 commit
  8. 01 Aug, 2013 1 commit
  9. 01 Feb, 2013 1 commit
  10. 28 Jan, 2013 1 commit
    • Aaron Plattner's avatar
      test: add a dlclose test · d00042fd
      Aaron Plattner authored
      Closing an X display that had a VDPAU device created on it causes a crash.
      
      Work around an identical libXext dlclose bug with the "Generic Event Extension"
      by dlopening libXext.so.6 and leaving it open.
      
      Original bug discovered and fixed by Robert Morell <rmorell@nvidia.com> in
      commit 3b43955c
      
      .
      
      v2: Don't SKIP if creating the device fails.  Just attempting to create the
      device installs the DRI2 extension that causes the problem.
      Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
      Reviewed-by: default avatarRobert Morell <rmorell@nvidia.com>
      d00042fd
  11. 25 Jan, 2013 2 commits
  12. 04 Sep, 2012 1 commit
  13. 08 Sep, 2010 1 commit
  14. 28 Jan, 2010 2 commits
  15. 14 Dec, 2009 1 commit
  16. 20 Nov, 2009 1 commit
  17. 17 Nov, 2009 1 commit
    • Aaron Plattner's avatar
      Move VDPAU drivers into their own module directory. · 0537b13e
      Aaron Plattner authored
      
      
      * Add a --with-module-dir configure parameter.
      
      * Pass the moduledir into the wrapper.  Use it to construct the path to search
        for drivers.  Require drivers to end in a ".1" version, in case we ever want
        to rev. the interface between the wrapper and the drivers.
      
      * If no driver is found in the new module dir, look for one in the default
        search paths.  This is intended to find libvdpau_nvidia.so for drivers that
        predate the change to move it, and can be removed in the future.
      
      * Stash the moduledir into vdpau.pc.  Drivers can find this with
        `pkg-config --variable=moduledir vdpau`.
      
      * Add a version to libvdpau_trace.so in case the interface between it and
        libvdpau.so ever changes.
      
      * Install libvdpau_trace.so.1 to moduledir instead of libdir.
      Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
      Acked-by: default avatarStephen Warren <swarren@nvidia.com>
      0537b13e
  18. 03 Oct, 2009 1 commit
    • Aaron Plattner's avatar
      Build documentation. · fceec0aa
      Aaron Plattner authored
      Detect when doxygen, dot, and pdflatex are installed.  When they are, enable
      documentation.  Add --enable-documentation and --disable-documentation to
      override the autodetection.  Install the docs to the configured docdir (usually
      $prefix/share/doc/libvdpau).
      fceec0aa
  19. 17 Sep, 2009 1 commit
  20. 14 Sep, 2009 1 commit
  21. 02 Sep, 2009 1 commit
  22. 14 Jan, 2009 2 commits