#3736: [PATCH] Fix buffer underread for empty header values
------------------------+----------------------
 Reporter:  Lekensteyn  |      Owner:  mutt-dev
     Type:  defect      |     Status:  new
 Priority:  major       |  Milestone:
Component:  mutt        |    Version:  1.5.23
 Keywords:  patch       |
------------------------+----------------------
 When a header has no value (*p == '\0' so l == 0), do not read outside
 the buffer but print the newline anyway when a tag is already printed
 (col != 0).

 Caught by ASAN while opening a draft with no Subject.

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

Reply via email to