[bug #68192] [long-term] check all dynamic ("heap") memory allocations for success

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Follow-up Comment #7, bug #68192 (group groff):


Author: G. Branden Robinson <[email protected]>
Date:   Mon May 25 04:05:51 2026 -0500

    [tfmtodit]: Be more fastidious with heap memory.
    
    * src/utils/tfmtodit/tfmtodit.cpp: Use ISO C++98 exceptions to handle
      heap storage allocation failures.  Preprocessor-include C++ "<new>"
      header file.
    
      (tfm::load): Catch `std:bad_alloc` exception and `fatal()` out with an
      attempt to describe what we were doing.
    
    Continues the long process of fixing Savannah #68192.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68192>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCahknIAAKCRCqLAuaBUf3
Tt8/AQDASIqrck3Wq67+u1VhF8JGEtHI3hB5rc0VU2hLwQD2vwD+O1YKFec4NddQ
xliqCRMtQiAjrbIhGBVjCEl4lVWtYwc=
=Ecu8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.