Re: [PATCH] rename -Wformat-length to -Wformat-overflow

2017-01-12 Thread Martin Sebor
On 01/12/2017 02:26 PM, Jeff Law wrote: On 01/12/2017 01:31 PM, Martin Sebor wrote: With the move of the snprintf truncation checking from -Wformat-length to the dedicated -Wformat-truncation option (done in r244210), -Wformat-length isn't as descriptive as it could and should be for an option w

Re: [PATCH] rename -Wformat-length to -Wformat-overflow

2017-01-12 Thread Jeff Law
On 01/12/2017 01:31 PM, Martin Sebor wrote: With the move of the snprintf truncation checking from -Wformat-length to the dedicated -Wformat-truncation option (done in r244210), -Wformat-length isn't as descriptive as it could and should be for an option whose sole focus is the detection of sprin

[PATCH] rename -Wformat-length to -Wformat-overflow

2017-01-12 Thread Martin Sebor
With the move of the snprintf truncation checking from -Wformat-length to the dedicated -Wformat-truncation option (done in r244210), -Wformat-length isn't as descriptive as it could and should be for an option whose sole focus is the detection of sprintf buffer overflow. The name is also inconsi