Hi!

I'm sending these as a patch set to the mailing list, as I prefer
discussion of patches via email.  They've been available for a long time
in the gitlab: <https://gitlab.com/muttmua/mutt/-/merge_requests/181>.

I found this benign bug (see patch 2) thanks to some APIs that turn
malloc(3), realloc(3), et al. into type-safe APIs.  However, those
macros require C11 (they use _Generic(3)), which we don't use yet.


Have a lovely night!
Alex


P.S.:  The patches are signed with GPG in batch mode (sent with
git-send-email(1) with neomutt(1) as a driver), something I can do only
with neomutt(1), and which I'd like to be able to do in mutt(1) too.
We'll talk about this soon.  :)


Alejandro Colomar (2):
  enter.c: Use wmem*() functions with wide-character strings
  crypt.c: Fix allocation size calculation

 crypt.c |  2 +-
 enter.c | 27 ++++++++++++++-------------
 2 files changed, 15 insertions(+), 14 deletions(-)

Range-diff against v0:
-:  ------------ > 1:  465585daa48b enter.c: Use wmem*() functions with 
wide-character strings
-:  ------------ > 2:  1031be98373b crypt.c: Fix allocation size calculation
-- 
2.51.0

Reply via email to