[Nickle] Fwd: nickle buffer overflow in Ubuntu 11.04

Bart Massey bart at cs.pdx.edu
Wed May 25 15:18:05 PDT 2011


Sarah, glad you're still using Nickle! I've cc-ed this email to
Keithp, who is more likely to be able to quickly fix it than am I, and
to the nickle at nickle.org email list, which we are currently using
primarily as a bug tracker.

We should probably move the whole thing to Github at this
point---Keithp? It would get us a proper bug tracker, among other
things.

    Bart

---------- Forwarded message ----------
From: Sarah A Sharp <saharabeara at gmail.com>
Date: Mon, May 23, 2011 at 1:33 PM
Subject: nickle buffer overflow in Ubuntu 11.04
To: bart massey <bart at cs.pdx.edu>


Hi Bart,

I use nickle, mainly for calculating bit masks, nothing fancy.  In
Ubuntu 11.04, it dies when I invoke it with no arguments, due to a
buffer overflow detection.  Anyone else I should contact/websites to
file a bug at?

Sarah Sharp

sarah at xanatos:~$ nickle
*** buffer overflow detected ***: nickle terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f8cff4821d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7f8cff4810f0]
nickle(NewStrString+0x3f)[0x437bef]
nickle(StringInit+0x16)[0x437d26]
nickle(ValueInit+0x95)[0x43f7d5]
nickle(init+0x13)[0x42a903]
nickle(main+0xe6)[0x42ab26]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f8cff3a2eff]
nickle[0x40a739]
======= Memory map: ========
00400000-0047b000 r-xp 00000000 08:01 9219384
 /usr/bin/nickle
0067a000-0067b000 r--p 0007a000 08:01 9219384
 /usr/bin/nickle
0067b000-0067c000 rw-p 0007b000 08:01 9219384
 /usr/bin/nickle
0239c000-02415000 rw-p 00000000 00:00 0                                  [heap]
7f8cff16e000-7f8cff183000 r-xp 00000000 08:01 5030099
 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8cff183000-7f8cff382000 ---p 00015000 08:01 5030099
 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8cff382000-7f8cff383000 r--p 00014000 08:01 5030099
 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8cff383000-7f8cff384000 rw-p 00015000 08:01 5030099
 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8cff384000-7f8cff50e000 r-xp 00000000 08:01 5032909
 /lib/x86_64-linux-gnu/libc-2.13.so
7f8cff50e000-7f8cff70d000 ---p 0018a000 08:01 5032909
 /lib/x86_64-linux-gnu/libc-2.13.so
7f8cff70d000-7f8cff711000 r--p 00189000 08:01 5032909
 /lib/x86_64-linux-gnu/libc-2.13.so
7f8cff711000-7f8cff712000 rw-p 0018d000 08:01 5032909
 /lib/x86_64-linux-gnu/libc-2.13.so
7f8cff712000-7f8cff718000 rw-p 00000000 00:00 0
7f8cff718000-7f8cff758000 r-xp 00000000 08:01 5029913
 /lib/libncurses.so.5.7
7f8cff758000-7f8cff957000 ---p 00040000 08:01 5029913
 /lib/libncurses.so.5.7
7f8cff957000-7f8cff95b000 r--p 0003f000 08:01 5029913
 /lib/libncurses.so.5.7
7f8cff95b000-7f8cff95c000 rw-p 00043000 08:01 5029913
 /lib/libncurses.so.5.7
7f8cff95c000-7f8cff995000 r-xp 00000000 08:01 5029928
 /lib/libreadline.so.6.2
7f8cff995000-7f8cffb95000 ---p 00039000 08:01 5029928
 /lib/libreadline.so.6.2
7f8cffb95000-7f8cffb97000 r--p 00039000 08:01 5029928
 /lib/libreadline.so.6.2
7f8cffb97000-7f8cffb9d000 rw-p 0003b000 08:01 5029928
 /lib/libreadline.so.6.2
7f8cffb9d000-7f8cffb9e000 rw-p 00000000 00:00 0
7f8cffb9e000-7f8cffc22000 r-xp 00000000 08:01 5032913
 /lib/x86_64-linux-gnu/libm-2.13.so
7f8cffc22000-7f8cffe21000 ---p 00084000 08:01 5032913
 /lib/x86_64-linux-gnu/libm-2.13.so
7f8cffe21000-7f8cffe22000 r--p 00083000 08:01 5032913
 /lib/x86_64-linux-gnu/libm-2.13.so
7f8cffe22000-7f8cffe23000 rw-p 00084000 08:01 5032913
 /lib/x86_64-linux-gnu/libm-2.13.so
7f8cffe23000-7f8cffe25000 r-xp 00000000 08:01 5032912
 /lib/x86_64-linux-gnu/libdl-2.13.so
7f8cffe25000-7f8d00025000 ---p 00002000 08:01 5032912
 /lib/x86_64-linux-gnu/libdl-2.13.so
7f8d00025000-7f8d00026000 r--p 00002000 08:01 5032912
 /lib/x86_64-linux-gnu/libdl-2.13.so
7f8d00026000-7f8d00027000 rw-p 00003000 08:01 5032912
 /lib/x86_64-linux-gnu/libdl-2.13.so
7f8d00027000-7f8d00048000 r-xp 00000000 08:01 5032906
 /lib/x86_64-linux-gnu/ld-2.13.so
7f8d0021b000-7f8d0021f000 rw-p 00000000 00:00 0
7f8d00245000-7f8d00247000 rw-p 00000000 00:00 0
7f8d00247000-7f8d00248000 r--p 00020000 08:01 5032906
 /lib/x86_64-linux-gnu/ld-2.13.so
7f8d00248000-7f8d0024a000 rw-p 00021000 08:01 5032906
 /lib/x86_64-linux-gnu/ld-2.13.so
7fff36b4b000-7fff36b6c000 rw-p 00000000 00:00 0                          [stack]
7fff36bdf000-7fff36be0000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
 [vsyscall]


More information about the Nickle mailing list