tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

HowToReview.md (2157B)


How to review a patch

Some folks have said that they'd like to review patches more often, but they don't know how.

So, here are a bunch of things to check for when reviewing a patch!

Note that if you can't do every one of these, that doesn't mean you can't do a good review! Just make it clear what you checked for and what you didn't.

Top-level smell-checks

(Difficulty: easy)

memory?

documentation?

modified behavior have modified documentation?

Let's look at the code!

pointer "owns" the object?

Let's look at the documentation!

Let's think about security!

overflow?

deallocations?

(Also see your favorite secure C programming guides.)