#3821: [PATCH] pointers to arrays can't be NULL
---------------------+----------------------
 Reporter:  flatcap  |      Owner:  mutt-dev
     Type:  defect   |     Status:  new
 Priority:  trivial  |  Milestone:
Component:  build    |    Version:  1.5.24
 Keywords:  patch    |
---------------------+----------------------
 browser.c - examine_mailboxes()

     strfcpy (buffer, NONULL(tmp->path), sizeof (buffer));

 *tmp is a BUFFY
 tmp->path is "char path[_POSIX_PATH_MAX]"

 mutt_socket.c - mutt_socket_open()

     dprint (2, (debugfile, "Connected to %s:%d on fd=%d\n",
               NONULL (conn->account.host), conn->account.port, conn->fd));

 *conn is a CONNECTION
 conn->account is an ACCOUNT
 conn->account.host is char host[128]

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3821>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to