[bug #68192] [long-term] check all dynamic memory allocations for success

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


commit 5517de594dc5dfddc827668dad12907794b4de6e
Author: G. Branden Robinson <[email protected]>
Date:   Mon May 11 10:18:25 2026 -0500

    [grohtml]: Slightly refactor.
    
    * src/devices/grohtml/html-text.cpp: Use ISO C++98 exceptions to handle
      heap storage allocation failures.  Align code style a bit more with
      groff conventions.  Preprocessor-include C++ "<new>" header file.
    
      (html_text::push_para)
      (html_text::do_para): Catch `std:bad_alloc` exceptions 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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagkpygAKCRCqLAuaBUf3
TrbzAQDyFhC1wS/8E8XBUSdgwAAlkJL8Th3Rf2/YugyAFKA4KgEA9PqPqo7Hk9pV
Sz4ypweADZTVK1iscH9A8egqkUmyWgE=
=2LHy
-----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.