This bug was fixed in the package usb-modeswitch -
2.1.1+repack0-1ubuntu1
---
usb-modeswitch (2.1.1+repack0-1ubuntu1) trusty; urgency=medium
* Merge with Debian unstable; remaining changes: (LP: #1280546)
- patch to rewrite dispatcher to C.
-
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));
Problem is in DNA. See bug 927954.
next problem:
dev_top[strlen(dev_top)] = '\0';
** Patch added: usb_modeswitch_dispatcher.c.patch
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1155975/+attachment/3988004/+files/usb_modeswitch_dispatcher.c.patch
--
You received this bug
** Attachment added: usb_modeswitch_dispatcher.c.patch2
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1155975/+attachment/3988010/+files/usb_modeswitch_dispatcher.c.patch2
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed
patch2 fixes
dev_top[strlen(dev_top)] = '\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()
The attachment usb_modeswitch_dispatcher.c.patch seems to be a patch.
If it isn't, please remove the patch flag from the attachment, remove
the patch tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
** Attachment added: fix teoretial vulnerability extend for case
udev_args==/1-1
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1155975/+attachment/3988533/+files/usb_modeswitch_dispatcher.c.patch3
--
You received this bug notification because you are a member of Desktop
The dispatcher expects PATH environment variable and fails at
strdup(getenv(PATH)); because usb_modeswitch script doesn't export
PATH variable:
PATH=/sbin:/usr/sbin:$PATH
should be
export PATH=/sbin:/usr/sbin:$PATH
for the variable to appear in the environment
--
You received this bug
introduced with revision 25: http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/quantal/usb-modeswitch/quantal/revision/25
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
i have same problem, on fresh install 13.04... can't connect with usb
modem.
--
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
Just installed fresh 13.04 32bit release. The same error occured..
--
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
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: usb-modeswitch (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
StacktraceTop:
__strlen_ia32 () at ../sysdeps/i386/i686/multiarch/../../i586/strlen.S:98
__GI___strdup (s=0x0) at strdup.c:41
?? ()
?? ()
__libc_start_main (main=0x8049120, argc=4, ubp_av=0xbfdbb234, init=0x804dda0,
fini=0x804de10, rtld_fini=0xb76f1600 _dl_fini, stack_end=0xbfdbb22c) at
** Attachment added: Stacktrace.txt
https://bugs.launchpad.net/bugs/1155975/+attachment/3587420/+files/Stacktrace.txt
--
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
** Attachment added: StacktraceSource.txt
https://bugs.launchpad.net/bugs/1155975/+attachment/3587421/+files/StacktraceSource.txt
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
** Attachment added: ThreadStacktrace.txt
https://bugs.launchpad.net/bugs/1155975/+attachment/3587422/+files/ThreadStacktrace.txt
** Attachment removed: CoreDump.gz
https://bugs.launchpad.net/bugs/1155975/+attachment/3577973/+files/CoreDump.gz
** Changed in: usb-modeswitch (Ubuntu)
** Information type changed from Private to Public
--
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 strdup()
17 matches
Mail list logo