[krbdev.mit.edu #8726] Directly dereference the pointer certname which may be NULL in parse_fs_options()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8726] Directly dereference the pointer certname which may be NULL in parse_fs_options()

Greg Hudson via RT-2
parse_fs_options() checks for an empty input, so may be assuming that
strtok_r() won't return null the first time.  I found experimentally
that it does so if the input is "," (the delimiter).  So we can make
this code perform a null deref with:

  pkinit_identities = FILE:,
_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs