Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at auth-request.c:820

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

mech_skey_auth_phase1

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/auth/mech-skey.c)expand/collapse
Show more  
 103  mech_skey_auth_phase1(struct auth_request *auth_request,
 104                        const unsigned char *data, size_t data_size)
 105  {
 106          const char *username, *error;
 107   
 108[+]         username = t_strndup(data, data_size);
 109   
 110[+]         if (!auth_request_set_username(auth_request, username, &error)) {
expand/collapse

auth_request_set_username

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/auth/auth-request.c)expand/collapse
Show more  
 812  bool auth_request_set_username(struct auth_request *request,
 813                                 const char *username, const char **error_r)
 814  {
 815          const char *p, * = NULL;
 816   
 817          if (request->auth->master_user_separator != '\0' &&
 818              !request->userdb_lookup) {
 819                  /* check if the username contains a master user */
 820                  p = strchr(username, request->auth->master_user_separator);
Show more  
Show more  




Change Warning 7644.25592 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: