summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjpierre%netscape.com <devnull@localhost>2002-09-07 03:19:56 +0000
committerjpierre%netscape.com <devnull@localhost>2002-09-07 03:19:56 +0000
commit933153309a309a370265be228dcca11317bd7e38 (patch)
tree4149ed4c44b7d893c03e7d08c55e0543e6fc455d
parentf5dfb3a35d1da74bebd6bea0a5d76af629f952f4 (diff)
downloadnss-hg-933153309a309a370265be228dcca11317bd7e38.tar.gz
Roll back change
-rw-r--r--security/nss/lib/util/nssb64d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/util/nssb64d.c b/security/nss/lib/util/nssb64d.c
index 9741ac9de..c49e38f87 100644
--- a/security/nss/lib/util/nssb64d.c
+++ b/security/nss/lib/util/nssb64d.c
@@ -282,7 +282,7 @@ pl_base64_decode_buffer (PLBase64Decoder *data, const unsigned char *in,
}
i = 0;
- PR_ASSERT((3) <= data->output_buflen);
+ PR_ASSERT((out - data->output_buffer + 3) <= data->output_buflen);
/*
* Assume we are not at the end; the following function only works