Sorry for the confusion, I didn't expect the code would be so significantly different. The same issue appears to exists in both versions, though.
I have no doubt that the patch @ManoloFLTK posted would fix the problem, however I'd note that it truncates after escaping, meaning the closing quote character could be cut off, and thus the beginning of the next parameter would act as the closing quote, meaning it would again be exploitable if the following string ("COLLADA Models (*.dae)" in my example) was attacker controlled, which is unlikely, but it would still cause the save command to fail.
I will quickly set up a reproduction of the original issue with kdialog for fltk 1.5 and 1.4 both right now.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/1598/5533368979@github.com>
Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.