mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
3c2c6a6116
Technically, we're not allowed to take the address of a member can't exist relative to the null pointer. That makes me wonder how any sane compliant system implements the offsetof macro, but let's let sleeping balrogs lie. Fixes 13096; patch on 0.1.1.9-alpha; patch from "teor", who was using clang -fsanitize=undefined-trap -fsanitize-undefined-trap-on-error -ftrapv
5 lines
233 B
Plaintext
5 lines
233 B
Plaintext
o Minor bugfixes (conformance):
|
|
- In routerlist_assert_ok(), don't take the address of a routerinfo's
|
|
cache_info member unless that routerinfo is non-NULL. Fixes bug
|
|
13096; bugfix on 0.1.1.9-alpha. Patch by "teor".
|