FLTK logo

Re: [HIGH] STR #3420: fluid can crash on certain use of static types

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: [HIGH] STR #3420: fluid can crash on certain use of static types Albrecht Schlosser Jan 31, 2021  
 
[STR Closed w/Resolution]

Link: https://www.fltk.org/str.php?L3420
Version: 1.4-current
Fix Version: 1.4.0 (r12531)
Git Commit: 9c2b0d743f2c3ecd7f1475c0ccf2c9f6e5805436


I stumbled across this issue in branch-1.3 and backported the fix:

  see branch-1.3: commit beb733e39e7935d0f7336515d1ae402897c847a9

... together with two other fixes in the same file.

FTR: the crash can really happen and the generated code would get a default
return type 'void' or 'Fl_Window *' or whatever is appropriate
in the context, hence there's no illegal code generated. Verified with
a simple fluid file as suggested above.


Link: https://www.fltk.org/str.php?L3420
Version: 1.4-current
Fix Version: 1.4.0 (r12531)
Git Commit: 9c2b0d743f2c3ecd7f1475c0ccf2c9f6e5805436


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'.