Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F FFmpeg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sixue.cheng
  • FFmpeg
  • Repository

Switch branch/tag
  • ffmpeg
  • cmdutils_opencl.c
Find file BlameHistoryPermalink
  • Maneesh Gupta's avatar
    OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c · cf234552
    Maneesh Gupta authored Apr 28, 2015
    
    
    The opt_opencl_bench function copied the device name using strcpy without checking if the source string was larger.
    This patch fixes this by replacing the strcpy with av_strlcpy, with the string copy size capped to the destination buffer size.
    Signed-off-by: default avatarManeesh Gupta <maneesh.gupta@amd.com>
    Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
    cf234552

Replace cmdutils_opencl.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.