summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_init.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-12-15 11:38:56 -0500
committerSimo Sorce <simo@redhat.com>2015-03-24 11:46:39 -0400
commitaa4fc60117a35a56735fdca533d0169c9c5f76d0 (patch)
treeec031bd479e8fb8dffa698467ca5cc9c31ed2747 /proxy/src/gp_init.c
parent785889ad666a67525cbd73d1b098dd53b4cdfc18 (diff)
downloadgss-proxy-aa4fc60117a35a56735fdca533d0169c9c5f76d0.tar.gz
gss-proxy-aa4fc60117a35a56735fdca533d0169c9c5f76d0.tar.xz
gss-proxy-aa4fc60117a35a56735fdca533d0169c9c5f76d0.zip
Fix cast error
An unsigned int cannot be cast to a size_t. On some architectures (like s390) they have different sizes resulting in both writing out of bounds and getting just a zero in the length field and causing the next operation to fail. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Nathaniel McCallum <npmccallum@redhat.com> Reviewed-by: Roland Mainz <rmainz@redhat.com>
Diffstat (limited to 'proxy/src/gp_init.c')
0 files changed, 0 insertions, 0 deletions