summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2017-01-31 16:44:03 -0800
committerJim Meyering <meyering@fb.com>2017-01-31 16:46:17 -0800
commiteaa2a24345fba918eb7ad7a6a263e7e639d82d5f (patch)
tree29e02968e9cbe0a161e6cd1b8aac0c3c36e512d3 /NEWS
parent8420aff7e0eac5b6d02dcb60b88b9f9c2150f85a (diff)
downloaddiffutils-eaa2a24345fba918eb7ad7a6a263e7e639d82d5f.tar.gz
diff: avoid UMR with ---presume-output-tty
* src/diff.c (main): Always define presume_output_tty. Otherwise, it would be read uninitialized. Introduced in v3.3-45-g17e2698 * NEWS (Bug fixes): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 030432f..0afee1b 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ GNU diffutils NEWS -*- outline -*-
diff no longer mishandles line numbers exceeding 2**31 on Mingw-w64.
+ the ---presume-output-tty (ostensibly test-only) option would cause
+ diff --color to read an uninitialized variable
+
** Performance changes
diff's default algorithm has been tweaked to deal better with larger