[PATCH] Fix cast issue
by Simo Sorce
While looking at a bug I found this issue where we try to cast a
pointer to an unsigned int to size_t.
That doesn't work except by luck on a little endian machine, and even
there if unsigned int != size_t (32 bit machines) overwrite other data
so we've been also double lucky that whatever was overwritten didn't
matter.
I may find other issues but this was self-contained enough to merit its
own patch sent out asap.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
8 years, 6 months
[PATCHES] Better logging for basic errors and tests fixes
by Simo Sorce
One of the most frequent issues with gss-proxy is that of acquiring
credentials when interposing client processes.
The attached patchset adds proper logging (to syslog or journal) when
GSS-Proxy fails to acquire credentials. Hopefully it won't be too
spammy.
Also find attached a set of patches to fix the test framework which
was not actually testing the GSS-Proxy daemon (oops :-)
Simo.
--
Simo Sorce * Red Hat, Inc * New York
8 years, 6 months