Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #16449

Closed (moved)
(moved)
Open
Created Jun 26, 2015 by cypherpunks@cypherpunks

Segmentation fault on key generation

When tor cannot find any existing keys, the --keygen flag crashes with a segmentation fault. This is caused by using the return value of crypto_read_tagged_contents_from_file for wiping the encrypted_key array.

The solution is to use the array size as the size (like the pwbuf array). The patch for review follows.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking