Bug#630169: libx11-6: crash in SetHints.c:217
Package: libx11-6
Version: 2:1.4.3-1
Severity: important
Greetings!
So this is a peace of code from SetHints.c, I'm think this source file is up to
date, but I didn't found url to debian code:
http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/SetHints.c?id=libX11-1.3.4#n216
I run my program without arguments, only executable
gdb says that argv[0]='path to my file', argv[1]=0, argv[2]=0,
argv[3]=argv[4]=access violation
But the main problem is that argc=134653564, thats why program crashes at line
217 somewhere in strlen when i=3...
Tested on stable i386 and testing amd64
How to reproduce:
clone repository https://github.com/Kakadu/lablqt/tree/master/simple_signals
(git clone git://github.com/Kakadu/lablqt.git)
I think, that you will need qt4-dev and ocaml packages to be installed
cd simple_signals && make --- dlllablqt.so will be created.
cd test && ln -s ../dlllablqt.so && make && ./test --- Segmentation fault
-------------------------------
Kakadu
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32kakadu2 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libx11-6 depends on:
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libx11-data 2:1.4.3-1 X11 client-side library
ii libxcb1 1.7-2 X C Binding
libx11-6 recommends no packages.
libx11-6 suggests no packages.
-- no debconf information
Reply to: