root@testing:/home/ubuntu# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
root@testing:/home/ubuntu# dpkg -l | grep liblockfile
ii liblockfile-bin 1.09-3 support binaries for and cli utilities based on liblockfile
ii liblockfile1 1.09-3 NFS-safe locking library
Just confirmed on precise 12.04
root@testing: /home/ubuntu# cat /etc/lsb-release RELEASE= 12.04 CODENAME= precise DESCRIPTION= "Ubuntu 12.04.2 LTS" /home/ubuntu# dpkg -l | grep liblockfile
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@testing:
ii liblockfile-bin 1.09-3 support binaries for and cli utilities based on liblockfile
ii liblockfile1 1.09-3 NFS-safe locking library
root@testing: /home/ubuntu# echo $BASHPID /home/ubuntu# lockfile-create /tmp/lockfile --use-pid 64-linux- gnu/libc. so.6(__ fortify_ fail+0x37) [0x7f14c2723817 ] 64-linux- gnu/libc. so.6(+0x109710) [0x7f14c2722710 ] 64-linux- gnu/libc. so.6(+0x108b79) [0x7f14c2721b79 ] 64-linux- gnu/libc. so.6(_IO_ default_ xsputn+ 0xdd)[0x7f14c26 9513d] 64-linux- gnu/libc. so.6(_IO_ vfprintf+ 0x1ae7) [0x7f14c26634a7 ] 64-linux- gnu/libc. so.6(__ vsprintf_ chk+0x94) [0x7f14c2721c14 ] 64-linux- gnu/libc. so.6(__ sprintf_ chk+0x7d) [0x7f14c2721b5d ] x86_64- linux-gnu/ liblockfile. so.1(+0x1b26) [0x7f14c29d9b26 ] x86_64- linux-gnu/ liblockfile. so.1(lockfile_ create+ 0x61)[0x7f14c29 d9dd1] create[ 0x400f21] 64-linux- gnu/libc. so.6(__ libc_start_ main+0xed) [0x7f14c263a76d ] create[ 0x4012c5] lockfile- create lockfile- create lockfile- create 7f14c2418000 r-xp 00000000 fd:01 2995 /lib/x86_ 64-linux- gnu/libgcc_ s.so.1 7f14c2617000 ---p 00015000 fd:01 2995 /lib/x86_ 64-linux- gnu/libgcc_ s.so.1 7f14c2618000 r--p 00014000 fd:01 2995 /lib/x86_ 64-linux- gnu/libgcc_ s.so.1 7f14c2619000 rw-p 00015000 fd:01 2995 /lib/x86_ 64-linux- gnu/libgcc_ s.so.1 7f14c27ce000 r-xp 00000000 fd:01 3071 /lib/x86_ 64-linux- gnu/libc- 2.15.so 7f14c29cd000 ---p 001b5000 fd:01 3071 /lib/x86_ 64-linux- gnu/libc- 2.15.so 7f14c29d1000 r--p 001b4000 fd:01 3071 /lib/x86_ 64-linux- gnu/libc- 2.15.so 7f14c29d3000 rw-p 001b8000 fd:01 3071 /lib/x86_ 64-linux- gnu/libc- 2.15.so 7f14c29d8000 rw-p 00000000 00:00 0 7f14c29db000 r-xp 00000000 fd:01 11024 /usr/lib/ x86_64- linux-gnu/ liblockfile. so.1.0 7f14c2bda000 ---p 00003000 fd:01 11024 /usr/lib/ x86_64- linux-gnu/ liblockfile. so.1.0 7f14c2bdb000 r--p 00002000 fd:01 11024 /usr/lib/ x86_64- linux-gnu/ liblockfile. so.1.0 7f14c2bdc000 rw-p 00003000 fd:01 11024 /usr/lib/ x86_64- linux-gnu/ liblockfile. so.1.0 7f14c2bfe000 r-xp 00000000 fd:01 2944 /lib/x86_ 64-linux- gnu/ld- 2.15.so 7f14c2df7000 rw-p 00000000 00:00 0 7f14c2dfe000 rw-p 00000000 00:00 0 7f14c2dff000 r--p 00022000 fd:01 2944 /lib/x86_ 64-linux- gnu/ld- 2.15.so 7f14c2e01000 rw-p 00023000 fd:01 2944 /lib/x86_ 64-linux- gnu/ld- 2.15.so 7fff88812000 rw-p 00000000 00:00 0 [stack] 7fff88918000 r-xp 00000000 00:00 0 [vdso] 0-ffffffffff601 000 r-xp 00000000 00:00 0 [vsyscall]
1012680
root@testing:
*** buffer overflow detected ***: lockfile-create terminated
======= Backtrace: =========
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/usr/lib/
/usr/lib/
lockfile-
/lib/x86_
lockfile-
======= Memory map: ========
00400000-00402000 r-xp 00000000 fd:01 4401 /usr/bin/
00602000-00603000 r--p 00002000 fd:01 4401 /usr/bin/
00603000-00604000 rw-p 00003000 fd:01 4401 /usr/bin/
0201a000-0203b000 rw-p 00000000 00:00 0 [heap]
7f14c2403000-
7f14c2418000-
7f14c2617000-
7f14c2618000-
7f14c2619000-
7f14c27ce000-
7f14c29cd000-
7f14c29d1000-
7f14c29d3000-
7f14c29d8000-
7f14c29db000-
7f14c2bda000-
7f14c2bdb000-
7f14c2bdc000-
7f14c2df4000-
7f14c2dfb000-
7f14c2dfe000-
7f14c2dff000-
7fff887f1000-
7fff88917000-
ffffffffff60000
Aborted (core dumped)liblockfile1