FLTK logo

Re: [fltk/fltk] Preset filename is not shell quoted in kdialog file chooser implementation (Issue #1598)

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

Re: [fltk/fltk] Preset filename is not shell quoted in kdialog file chooser implementation (Issue #1598) Senko 23:18 Sep 03  
 
helpful-fox-senko-san left a comment (fltk/fltk#1598)

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>

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

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