Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at otp-parse.c:158

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

skey_send_challenge

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/auth/mech-skey.c)expand/collapse
Show more  
 19  skey_send_challenge(struct auth_request *auth_request,
 20                      const unsigned char *credentials, size_t size)
 21  {
 22          struct otp_auth_request *request =
 23                  (struct otp_auth_request *)auth_request;
 24          const char *answer;
 25   
 26[+]         if (otp_parse_dbentry(t_strndup(credentials, size),
 27[+]                               &request->state) != 0) {
expand/collapse

otp_parse_dbentry

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-otp/otp-parse.c)expand/collapse
Show more  
 236  int otp_parse_dbentry(const char *text, struct otp_state *state)
 237  {
 238          const char *end;
 239          int ret;
 240   
 241[+]         ret = otp_read_new_params(text, &end, state);
expand/collapse

otp_read_new_params

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-otp/otp-parse.c)expand/collapse
Show more  
 149  int otp_read_new_params(const char *data, const char **endptr,
 150                          struct otp_state *state)
 151  {
 152          const char *p, *s;
 153          unsigned int i = 0;
 154          int algo;
 155   
 156          s = p = data;
 157   
 158          while ((*p != 0) && !IS_LWS(*p)) p++;
Show more  
Show more  
Show more  




Change Warning 7641.24808 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: