[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58096: support malloc NULL return
From: |
Aleksandar Kostadinov |
Subject: |
bug#58096: support malloc NULL return |
Date: |
Mon, 26 Sep 2022 12:19:19 +0300 |
Hello,
grep fails when using a certain malloc implementation (memkind) because of
its reliance on malloc returning 0 when zero size is passed to it. Memkind
returns NULL instead which according to authors [1] is one of the
acceptable values in malloc specification.
Can grep be updated to also support a NULL return value?
Thank you!
[1] https://github.com/memkind/memkind/issues/853#issuecomment-1241678167
- bug#58096: support malloc NULL return,
Aleksandar Kostadinov <=