[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 #5, bug #68192 (group groff):


commit 6d50caa970740f14d3c837c4dd58eeefede7ab62
Author: G. Branden Robinson <[email protected]>
Date:   Mon May 25 01:14:39 2026 -0500

    [grodvi]: Slightly refactor.
    
    * src/devices/grodvi/dvi.cpp: Use ISO C++98 exceptions to handle heap
      storage allocation failures.  Preprocessor-include C++ "<new>" header
      file.
    
      (dvi_font::load_dvi_font): 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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCahkmNAAKCRCqLAuaBUf3
TtL5AQCNIyNjiHuThA31ddMbvvx+P31mdhH49u4FIHgtx85x1AD/SCkE+KmYqFOG
+Yznu1MmAoTpG6fJSDtdpKNTnZ0KSQE=
=jYOr
-----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.