[njs] Removed surplus condition from Base64 decoded length counting.
Valentin Bartenev
vbart at nginx.com
Tue Oct 26 13:15:05 UTC 2021
details: https://hg.nginx.org/njs/rev/264fb92817cd
branches:
changeset: 1730:264fb92817cd
user: Valentin Bartenev <vbart at nginx.com>
date: Tue Oct 26 16:14:07 2021 +0300
description:
Removed surplus condition from Base64 decoded length counting.
diffstat:
src/njs_string.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diffs (14 lines):
diff -r b9bbb230fe4f -r 264fb92817cd src/njs_string.c
--- a/src/njs_string.c Wed Oct 20 13:01:55 2021 +0000
+++ b/src/njs_string.c Tue Oct 26 16:14:07 2021 +0300
@@ -1885,10 +1885,6 @@ njs_decode_base64_length_core(const njs_
size_t len;
for (len = 0; len < src->length; len++) {
- if (src->start[len] == '=') {
- break;
- }
-
if (basis[src->start[len]] == 77) {
break;
}
More information about the nginx-devel
mailing list