projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d70cc9
)
Fix off by one issue in buf2hexstr_sep()
author
shridhar kalavagunta
<coolshrid@hotmail.com>
Sat, 27 Jan 2024 03:10:32 +0000
(21:10 -0600)
committer
Tomas Mraz
<tomas@openssl.org>
Fri, 1 Mar 2024 09:50:01 +0000
(10:50 +0100)
Fixes #23363
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23404)
crypto/o_str.c
patch
|
blob
|
history
diff --git
a/crypto/o_str.c
b/crypto/o_str.c
index f1aacda5e3526c24c4e77dd884a1f5e276663173..ce60f3b95c0d63466b2efacc5a9f075844a4120b 100644
(file)
--- a/
crypto/o_str.c
+++ b/
crypto/o_str.c
@@
-247,7
+247,7
@@
static int buf2hexstr_sep(char *str, size_t str_n, size_t *strlength,
*q = CH_ZERO;
#ifdef CHARSET_EBCDIC
- ebcdic2ascii(str, str, q - str
- 1
);
+ ebcdic2ascii(str, str, q - str);
#endif
return 1;
}