Package: gnome-rdp
Version: 0.2.2-2
Severity: normal

Hi,

I just tried to add something including an apostroph as the session
name ("Apostroph's problem"), and got the following error:

Error in query:
INSERT INTO session (parentid, iscategory, sessionname, protocol,
computer, user, password, domain, srvtype, colordepth,
screenresolutionx, screenresolutiony, soundredirection, keyboardlang,
connectiontype, windowmode, terminalsize, compressionlevel,
imagequality) VALUES (0, 0, 'Apostroph's problem', 1, 'test', '', '',
'', 0, 0, 640, 480, 0, 'en-us', 0, 0, 0, 0, 0)
Error:near "s": syntax error

Obviously a problem with a non-proper handling of SQL escapes.

Thanks for considering!

Martin


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-rdp depends on:
ii  gnome-terminal                2.18.0-2   The GNOME 2 terminal emulator appl
ii  libglade2.0-cil               2.10.1-2   CLI binding for the Glade librarie
ii  libglib2.0-cil                2.10.1-2   CLI binding for the GLib utility l
ii  libgtk2.0-0                   2.10.13-1  The GTK+ graphical user interface 
ii  libgtk2.0-cil                 2.10.1-2   CLI binding for the GTK+ toolkit 2
ii  libmono-corlib1.0-cil         1.2.4-4    Mono core library (1.0)
ii  libmono-sqlite1.0-cil         1.2.4-4    Mono Sqlite library
ii  libmono-system-data1.0-cil    1.2.4-4    Mono System.Data library
ii  libmono-system1.0-cil         1.2.4-4    Mono System libraries (1.0)
ii  libmono1.0-cil                1.2.4-4    Mono libraries (1.0)
ii  libvte2.0-cil                 2.16.0-6   CLI binding for VTE 0.16
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  mono-runtime                  1.2.4-4    Mono runtime
ii  openssh-client                1:4.3p2-10 Secure shell client, an rlogin/rsh
ii  rdesktop                      1.5.0-2    RDP client for Windows NT/2000 Ter

gnome-rdp recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to