Task #960 - fixed.err

back to task #960
download
Error: CLANG_WARNING:
pam-1.6.0-build/Linux-PAM-1.6.0/libpam/pam_handlers.c:21: included_from: Included from here.
pam-1.6.0-build/Linux-PAM-1.6.0/libpam/include/pam_assemble_line.h:74:5: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#   72|   static void _pam_buffer_clear(struct line_buffer *buffer)
#   73|   {
#   74|->     pam_overwrite_n(buffer->assembled, buffer->size);
#   75|       _pam_drop(buffer->assembled);
#   76|       pam_overwrite_n(buffer->chunk, buffer->chunk_size);

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