Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository

Switch branch/tag
  • ipipe-x86
  • drivers
  • staging
  • fbtft
  • fbtft_device.c
Find file BlameHistoryPermalink
  • Sudip Mukherjee's avatar
    staging: fbtft: use strncpy instead of strcpy · eb6a2dbf
    Sudip Mukherjee authored Sep 05, 2015
    
    
    Using strcpy() is a security risk as the destination buffer size is not
    checked and we may over-run the buffer. Use strncpy() instead, while
    mentioning the buffer size leaving place for the NULL termination.
    Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    eb6a2dbf

Replace fbtft_device.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.

Imprint & Privacy Policy