Task #960 - added.err

back to task #960
download
Error: CLANG_WARNING:
pam-1.6.1-build/Linux-PAM-1.6.1/libpam_internal/pam_line.c:45:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
#   43|       }
#   44|   
#   45|->     memcpy(buffer->assembled + buffer->len, start, len);
#   46|       buffer->len += len;
#   47|       buffer->assembled[buffer->len] = '\0';

Error: CLANG_WARNING:
pam-1.6.1-build/Linux-PAM-1.6.1/modules/pam_env/pam_env.c:276:14: warning[unix.MallocSizeof]: Result of 'calloc' is converted to a pointer of type 'char *', which is incompatible with sizeof operand type 'char **'
#  274|       }
#  275|   
#  276|->     *lines = calloc((key_number + 1), sizeof(char**));
#  277|       if (*lines == NULL) {
#  278|         pam_syslog(pamh, LOG_ERR, "Cannot allocate memory.");