summaryrefslogtreecommitdiff
path: root/debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch
diff options
context:
space:
mode:
authorRuss Allbery <rra@debian.org>2022-01-29 09:55:39 -0800
committerRuss Allbery <rra@debian.org>2022-01-29 09:55:39 -0800
commit6cd51b7275d706f485476bc76f0c7655108a1f48 (patch)
treeb1ce0f9d76883a1d6139a606b12384edf835b46b /debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch
parente30b0775a40f4805a73cc304e00c35b29464f8a7 (diff)
git-debrebase convert-from-gbp: drop patches from tree
Delete debian/patches, as part of converting to git-debrebase format. [git-debrebase convert-from-gbp: drop patches from tree]
Diffstat (limited to 'debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch')
-rw-r--r--debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch b/debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch
deleted file mode 100644
index 086e700..0000000
--- a/debian/patches/0002-Expand-size-of-buffers-for-eval-messages.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From: Russ Allbery <rra@debian.org>
-Date: Sun, 21 Jul 2019 11:35:00 -0700
-Subject: Expand size of buffers for eval messages
-
-CommandSetEvalCubeful, CommandSetEvalPrune, and
-CommandSetEvalDeterministic used static buffers of 128 bytes for
-displaying messages, but the Spanish translation for at least
-CommandSetEvalDeterministic used more space than the length of
-that buffer. This, in turn, triggered a bounds checking error
-during program start.
-
-Double the length of the buffers to work around the immediate
-problem.
----
- set.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/set.c b/set.c
-index 4e2e826..09f43e8 100644
---- a/set.c
-+++ b/set.c
-@@ -1024,7 +1024,7 @@ extern void
- CommandSetEvalCubeful(char *sz)
- {
-
-- char asz[2][128], szCommand[64];
-+ char asz[2][256], szCommand[64];
- int f = pecSet->fCubeful;
-
- sprintf(asz[0], _("%s will use cubeful evaluation.\n"), szSet);
-@@ -1038,7 +1038,7 @@ extern void
- CommandSetEvalPrune(char *sz)
- {
-
-- char asz[2][128], szCommand[64];
-+ char asz[2][256], szCommand[64];
- int f = pecSet->fUsePrune;
-
- sprintf(asz[0], _("%s will use pruning.\n"), szSet);
-@@ -1052,7 +1052,7 @@ extern void
- CommandSetEvalDeterministic(char *sz)
- {
-
-- char asz[2][128], szCommand[64];
-+ char asz[2][256], szCommand[64];
- int f = pecSet->fDeterministic;
-
- sprintf(asz[0], _("%s will use deterministic noise.\n"), szSet);