Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #14142

Closed (moved)
Open
Opened Jan 10, 2015 by teor@teor

A 2-letter torrc file containing "Vi" causes tor to crash

The parsing of the VirtualAddrNetworkIPv[46] options crashes when the line or file ends after the option itself. (The IPv4? option can be abbreviated to "Vi").

This is an easy fix that involves checking for the empty string early on, before we assert on it in the parsing code.

Discovered using afl-fuzz with a custom tor binary that parses a torrc file from standard input (and doesn't do much else). This kind of fuzzing would be easier to conduct using a test harness, rather than using the entire tor binary.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.5.x-final
Milestone
Tor: 0.2.5.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#14142