[Bug 250564] New: Sax2 segfault if you click in empty Option section
https://bugzilla.novell.com/show_bug.cgi?id=250564 Summary: Sax2 segfault if you click in empty Option section Product: openSUSE 10.3 Version: Alpha 1plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: SaX2 AssignedTo: ms@novell.com ReportedBy: dkukawka@novell.com QAContact: qa@suse.de If you e.g. click for a selected Finepoint tablet under the tab 'Port and Mode' into the empty 'Options' section/box sax2 segfault. I produced this with the actual sax2 packages for 10.3 build via mbuild. You can see a archive with a strace of sax2 as this happend here: /suse/dkukawka/Export/bugzilla/strace_sax2_segfault.tar.bz2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=250564 ------- Comment #1 from dkukawka@novell.com 2007-03-02 04:33 MST ------- the strace file in the tar.bz2 with the segfault is: sax2_strace.12834 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=250564 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |sndirsch@novell.com ------- Comment #2 from ms@novell.com 2007-03-02 06:26 MST ------- bad bug... will fix it By the way are there options for the driver ? Stefan could you check that Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=250564 ------- Comment #3 from dkukawka@novell.com 2007-03-02 06:37 MST ------- man say: Option "MaximumXPosition" "number" Option "MinimumXPosition" "number" Option "MaximumYPosition" "number" Option "MinimumYPosition" "number" Option "InvertX" Option "InvertY" Invert the specified axis. Option "SwapXY" Swap the X and Y axis. Option "Rotate" "CW" Option "Rotate" "CWW" Manipulate the invert and swap options to match screen rotations. Option "DeviceName" "name" Option "AlwaysCore" "on" Option "AlwaysCore" "on" enables the sharing of the core pointer. Option "DebugLevel" number sets the level of debugging info reported. Option "BaudRate" "38400", "19200" or "9600" (default) changes the serial link speed. Option "Passive" decodes the passive pen. --> not needed for the Gateway Tablet PCs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=250564 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|sndirsch@novell.com | ------- Comment #4 from sndirsch@novell.com 2007-03-02 06:58 MST ------- In the driver I could find: static const char *default_options[] = { "BaudRate", "19200", "StopBits", "0", "DataBits", "8", "Parity", "None", "Vmin", "10", "Vtime", "1", "FlowControl", "None", NULL }; str = xf86FindOptionValue(local->options, "Device"); local->name = xf86SetStrOption(local->options, "DeviceName", XI_TOUCHSCREEN); priv->screen_no = xf86SetIntOption(local->options, "ScreenNo", 0); priv->fpitMaxX = xf86SetIntOption(local->options, "MaximumXPosition", 4100); priv->fpitMinX = xf86SetIntOption(local->options, "MinimumXPosition", 0); priv->fpitMaxY = xf86SetIntOption(local->options, "MaximumYPosition", 4100); priv->fpitMinY = xf86SetIntOption(local->options, "MinimumYPosition", 0); priv->fpitInvX = xf86SetBoolOption(local->options, "InvertX", 0); priv->fpitInvY = xf86SetBoolOption(local->options, "InvertY", 0); priv->fpitSwapXY = xf86SetBoolOption(local->options, "SwapXY", 0); priv->fpitPassive = xf86SetBoolOption(local->options, "Passive", 0); str = xf86SetStrOption(local->options, "Rotate", 0); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=250564 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #5 from ms@novell.com 2007-03-02 07:08 MST ------- Thanks, segfault fixed, options added -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com