Package: urlview
Version: 0.9-19
Severity: minor

urlview segfaults when searching for some invalid regular expressions. To reproduce:
1) open the attached test-case using urlview;
2) press "/";
3) enter "?" (without quotes) as the regular expression.

Backtrace (for urlview rebuilt with noopt nostrip):

#0  0xf7eef44f in __regexec (preg=0xffffbbf0, string=0x8050ce0 "http://debian.org/b";, 
nmatch=0, pmatch=0x0, eflags=<optimized out>) at regexec.c:248
#1  0x08049395 in search_forward (search=0xffffc93c "Inv", urlcount=2, 
url=0x8051008, redraw=0xffffbc58, current=0xffffbc54, top=0xffffbc50) at urlview.c:88
#2  0x0804ad76 in main (argc=2, argv=0xffffd5f4) at urlview.c:669


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages urlview depends on:
ii  libc6        2.13-35
ii  libncurses5  5.9-10

--
Jakub Wilk
http://debian.org/a
http://debian.org/b

Reply via email to