Hi,

This patch fixes a typo in an error message that could be user-visible
when running
out of memory in the parse_binary function.

Thanks
Joseph
From 387a0efc1bdd963c5601906b101c6935ea70f4c2 Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerostitch@debian.org>
Date: Thu, 15 Nov 2018 12:01:22 -0800
Subject: [PATCH] MINOR: Fix typo in error message in the standard subsystem

Fix a typo in an error message that could be user-visible when running
out of memory in the parse_binary function.
---
 src/standard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/standard.c b/src/standard.c
index 38e0b6fd..a33ad9bd 100644
--- a/src/standard.c
+++ b/src/standard.c
@@ -2186,7 +2186,7 @@ int parse_binary(const char *source, char **binstr, int *binstrlen, char **err)
 	}
 	else {
 		if (*binstrlen < len) {
-			memprintf(err, "no space avalaible in the buffer. expect %d, provides %d",
+			memprintf(err, "no space available in the buffer. expect %d, provides %d",
 			          len, *binstrlen);
 			return 0;
 		}
-- 
2.19.1

Reply via email to