Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • 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
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • crypto
  • cryptomgr.c
Find file BlameHistoryPermalink
  • Herbert Xu's avatar
    [CRYPTO] cryptomgr: Fix use after free · 1605b847
    Herbert Xu authored May 09, 2007
    
    
    By the time kthread_run returns the param may have already been freed
    so writing the returned thread_struct pointer to param is wrong.
    
    In fact, we don't need it in param anyway so this patch simply puts it
    on the stack.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    1605b847