Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at auth-request.c:1122

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

auth_request_change_userdb_user

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/auth/auth-request.c)expand/collapse
Show more  
 1105  auth_request_change_userdb_user(struct auth_request *request, const char *user)
 1106  {
 1107          const char *str;
 1108   
 1109          /* replace the username in userdb_reply if it changed */
 1110          if (strcmp(user, request->user) == 0)
 1111                  return;
 1112   
 1113[+]         str = t_strdup(auth_stream_reply_export(request->userdb_reply));
 1114   
 1115          /* reset the reply and add the new username */
 1116          auth_request_set_field(request, "user", user, NULL);
 1117          auth_stream_reply_reset(request->userdb_reply);
 1118          auth_stream_reply_add(request->userdb_reply,
 1119                                NULL, request->user);
 1120   
 1121          /* add the rest */
 1122          str = strchr(str, '\t');
Show more  




Change Warning 7579.24609 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: