Text   |  XML   |  ReML   |   Visible Warnings:

No Space For Null Terminator  at ntlm-encrypt.c:42

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

lm_hash

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-ntlm/ntlm-encrypt.c)expand/collapse
Show more  
 35  const unsigned char *
 36  lm_hash(const char *passwd, unsigned char hash[LM_HASH_SIZE])
 37  {
 38          static const unsigned char lm_magic[8] = "KGS!@#$%";
 39          unsigned char buffer[14];
 40          unsigned int i;
 41   
 42          strncpy((char *)buffer, passwd, sizeof(buffer));
Show more  




Change Warning 7152.24448 : No Space For Null Terminator

Priority:
State:
Finding:
Owner:
Note: