FIX: Fixed wrong size of buffer being passed into MSecGetCheckSum. Should be strlen(buffer). Eygene Ryabinkin found this using slumr and authtype checksum.
Problem Ref: FIX FOR THE WIKI AUTHENTICATION (SLURM CASE) Organization: Eygene Ryabinkin Contact: Eygene Ryabinkin git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@106 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
52dd85139f
commit
4c4b50ab53
@ -2021,6 +2021,8 @@ int MSURecvData(
|
||||
|
||||
ptr = tmpLine;
|
||||
|
||||
ptr[0] = '\0';
|
||||
|
||||
if (TimeLimit != 0)
|
||||
{
|
||||
/* allow polling */
|
||||
@ -2383,7 +2385,7 @@ int MSURecvData(
|
||||
{
|
||||
MSecGetChecksum(
|
||||
ptr,
|
||||
(S->RBufSize - (ptr - S->RBuffer)),
|
||||
strlen(ptr),
|
||||
CKSum,
|
||||
NULL,
|
||||
S->CSAlgo,
|
||||
|
Loading…
Reference in New Issue
Block a user