aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-06-13 17:09:54 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-06-13 17:09:54 +0200
commitea32b6a45ede22e34eb0fc3ca9c703466bc1799d (patch)
treec7ba1951044c149c8ae6bd3294aec019b1ba35bd
parente6f7318a6ca2681c7abb4a4476d188cc3a0ae497 (diff)
downloadmblaze-ea32b6a45ede22e34eb0fc3ca9c703466bc1799d.tar.gz
blaze822: blaze822_addr: ensure space for terminal null
-rw-r--r--blaze822.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c
index 73b516b..0fcc276 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -145,7 +145,7 @@ blaze822_addr(char *s, char **dispo, char **addro)
}
c = disp;
- e = disp + sizeof disp;
+ e = disp + sizeof disp - 1;
*disp = 0;
*addr = 0;