[bug #67424] Allocate the message buffer for $(info ...) on the heap instead of stack.
Dmitry Goncharov <[email protected]> Wed, 13 Aug 2025 15:34:15 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.make.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #1, bug #67424 (group make):
Next someone will want to set an env variable with 64M long name.
You can always create an artificial scenario that overflows the stack.
On the other hand, heap allocations are more expensive.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67424>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaJzotgAKCRCqLAuaBUf3 TrAiAP0e4RTpRqZMXmz8UtBbVKnsXMpJUvMuvZHKtz1X0OHudwD9HWbf8tX2e9Yq 7ZgUWHcNAScvJeWY4lai9uTcZVNikw8= =6ayS -----END PGP SIGNATURE-----