[bug #68426] hgsave/hgload should ignore unrestorable callbacks

"Dmitri A. Sergatskov" <[email protected]> Sat, 6 Jun 2026 21:29:45 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #1, bug #68426 (group octave):

Attached is a CSET that adds 
"util/private/__sanitize_graphics_callbacks__.m"
that strips scoped functions during hgload and hgsave.
(file bug68426_sanitize_hgsave_20260606_100.cset)

Dmitri.
-- 


(file #58689)

    _______________________________________________________

Additional Item Attachment:

Name: bug68426_sanitize_hgsave_20260606_100.cset Size: 7.5KiB

<https://file.savannah.gnu.org/file/bug68426_sanitize_hgsave_20260606_100.cset?file_id=58689>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz


    _______________________________________________________

Reply to this item at:

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

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaiTJiQAKCRCqLAuaBUf3
TlruAQCKxfG/G0sNZmpMj+0KFyEnt/3bP9ydvGbYgRYJw9AimgD/WvNTHYfa0V7X
cEZbzbYK0kPtx3GnEaCnAC7emyWfegw=
=x4yW
-----END PGP SIGNATURE-----