mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
e284894672
It turns out that if you set the third argument of __attribute__(format) to 0, GCC and Clang will check the format argument without expecting to find variadic arguments. This is the correct behavior for vsnprintf, vasprintf, and vscanf. I'm hoping this will fix bug 5969 (a clang warning) by telling clang that the format argument to tor_vasprintf is indeed a format string.
8 lines
291 B
Plaintext
8 lines
291 B
Plaintext
o Minor bugfixes
|
|
- Fix a build warning with Clang 3.1 related to our use of vasprint.
|
|
Fix for bug 5969. Bugfix on 0.2.2.11-alpha.
|
|
|
|
o Compilation improvements:
|
|
- Tell GCC and Clang to check for any errors in format strings passed
|
|
to the tor_v*(print|scan)f functions.
|