FLTK logo

Re: [MOD] STR #3235: Segmentation fault in Fl_Preferences

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [MOD] STR #3235: Segmentation fault in Fl_Preferences Matthias Melcher Jan 18, 2022  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: https://www.fltk.org/str.php?L3235
Version: 1.3-current


Even though this STR is very old:

I checked the deletion code and added a few security measures, but I can't
see anything that is wrong in principle.

A node should not delete its next node recursively. Nodes are stored in the
parent group, so the parent group must be the authority to decide if a
single node is deleted, or all children.

This makes especially sense if we were ever to move to std::vectors to
store a list of child nodes.


Link: https://www.fltk.org/str.php?L3235
Version: 1.3-current


Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.