#3790: undefined behavior with <history-up>
---------------------+----------------------
Reporter: vinc17 | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Resolution: | Keywords:
---------------------+----------------------
Comment (by vinc17):
Replying to [comment:1 kevin8t8]:
> Has this corner case been discussed on mutt-dev before?
I don't know for mutt-dev. But bug report #3775 mentions a patch that
does: "''Guard memcpy with if (savebuf) in enter.c to avoid undefined
behavior when copying zero bytes from NULL.''"
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3790#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent