commit aa302a2: [Minor] Oops, fix the loop

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Feb 11 17:49:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-11 17:47:56 +0000
URL: https://github.com/rspamd/rspamd/commit/aa302a2015d4d85bf43808e5a792b635822087e0 (HEAD -> master)

[Minor] Oops, fix the loop

---
 src/libcryptobox/base64/base64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libcryptobox/base64/base64.c b/src/libcryptobox/base64/base64.c
index ff08b9a80..eccc89a74 100644
--- a/src/libcryptobox/base64/base64.c
+++ b/src/libcryptobox/base64/base64.c
@@ -166,6 +166,7 @@ rspamd_cryptobox_base64_is_valid (const gchar *in, gsize inlen)
 				return FALSE;
 			}
 		}
+		p ++;
 	}
 
 	return TRUE;


More information about the Commits mailing list