see also bug 927954:
patch:
--- usb_modeswitch_dispatcher.c.orig 2014-02-20 15:08:44.665397121 +0700
+++ usb_modeswitch_dispatcher.c 2014-02-20 17:04:27.269572144 +0700
@@ -838,7 +838,7 @@
{
char* back = s + strlen(s);
- while(isspace(*--back));
+ while(back>=s && isspace(*--back));
*(back+1) = '\0';
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1155975
Title:
usb_modeswitch_dispatcher crashed with SIGSEGV in __strlen_ia32()
Status in “usb-modeswitch” package in Ubuntu:
Confirmed
Bug description:
usb_modeswitch_[2088]: segfault at 0 ip b758b6f1 sp bfdb7fcc error 4
in libc-2.17.so[b750d000+1ad000]
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: usb-modeswitch 1.2.3+repack0-1ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
Uname: Linux 3.8.0-12-generic i686
ApportVersion: 2.9.1-0ubuntu1
Architecture: i386
Date: Sat Mar 16 16:29:20 2013
ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
InstallationDate: Installed on 2013-03-15 (0 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Alpha i386
(20130313)
MarkForUpload: True
ProcCmdline: usb_modeswitch_dispatcher --switch-mode /7-1:1.0
/lib/udev/usb_modeswitch
ProcEnviron:
SegvAnalysis:
Segfault happened at: 0xb758b6f1: mov (%eax),%ecx
PC (0xb758b6f1) ok
source "(%eax)" (0x00000000) not located in a known VMA region (needed
readable region)!
destination "%ecx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: usb-modeswitch
StacktraceTop:
?? () from /lib/i386-linux-gnu/libc.so.6
strdup () from /lib/i386-linux-gnu/libc.so.6
?? ()
?? ()
__libc_start_main () from /lib/i386-linux-gnu/libc.so.6
Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strdup()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1155975/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp