Welcome! Log In Create A New Profile

Advanced

[njs] Removed surplus condition from Base64 decoded length counting.

Valentin Bartenev
October 26, 2021 09:16AM
details: https://hg.nginx.org/njs/rev/264fb92817cd
branches:
changeset: 1730:264fb92817cd
user: Valentin Bartenev <vbart@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;
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Removed surplus condition from Base64 decoded length counting.

Valentin Bartenev 177 October 26, 2021 09:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 48
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready