equal
deleted
inserted
replaced
|
1 # |
|
2 # This patch removes an inapropriate assert. |
|
3 # |
|
4 # This assert is inappropriate, because the length of the exported name |
|
5 # object may be smaller than input_name_buffer->value. This has caused |
|
6 # aborts in RPCSEC_GSS. |
|
7 # |
|
8 # This patch is to accomodate Solaris RPC implementation and is not suitable |
|
9 # upstream contribution. |
|
10 # Patch source: in-house |
|
11 # |
|
12 diff -pur old/src/lib/gssapi/krb5/import_name.c new/src/lib/gssapi/krb5/import_name.c |
|
13 --- old/src/lib/gssapi/krb5/import_name.c 2014-10-15 16:55:10.000000000 -0700 |
|
14 +++ new/src/lib/gssapi/krb5/import_name.c 2014-12-16 04:49:23.593542458 -0800 |
|
15 @@ -288,7 +288,6 @@ krb5_gss_import_name(minor_status, input |
|
16 goto fail_name; |
|
17 cp += length; |
|
18 } |
|
19 - assert(cp == end); |
|
20 } else { |
|
21 status = GSS_S_BAD_NAMETYPE; |
|
22 goto cleanup; |