Bug 480509: Improper character escaping and unescaping in alg1485.c
r=Honza git-svn-id: svn://10.0.0.236/trunk@256895 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a0e0b2022f
commit
bd4fd80684
@ -757,9 +757,11 @@ CERT_GetOidString(const SECItem *oid)
|
||||
CASE(3, 0x7f);
|
||||
CASE(2, 0x7f);
|
||||
CASE(1, 0x7f);
|
||||
case 0: n |= last[0]; /* most significant bit is zero. */
|
||||
CGET(0, 0x7f);
|
||||
break;
|
||||
}
|
||||
if (last[0] & 0x80)
|
||||
goto unsupported;
|
||||
|
||||
if (!rvString) {
|
||||
/* This is the first number.. decompose it */
|
||||
@ -785,9 +787,11 @@ CERT_GetOidString(const SECItem *oid)
|
||||
CGET(3, 0x7f);
|
||||
CGET(2, 0x7f);
|
||||
CGET(1, 0x7f);
|
||||
n |= last[0]; /* most significant bit is zero. */
|
||||
CGET(0, 0x7f);
|
||||
break;
|
||||
}
|
||||
if (last[0] & 0x80)
|
||||
goto unsupported;
|
||||
|
||||
if (!rvString) {
|
||||
/* This is the first number.. decompose it */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user