Skip to content

Instantly share code, notes, and snippets.

@rhaamo
Last active August 29, 2015 14:24
Show Gist options
  • Save rhaamo/39ad0a5cb4c3d13975b5 to your computer and use it in GitHub Desktop.
Save rhaamo/39ad0a5cb4c3d13975b5 to your computer and use it in GitHub Desktop.
Starting program: /usr/local/sbin/smtpd -f smtpd.conf -vd
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x0000000000462ca9 in _rs_random_buf (_buf=0x7fffff3ff070, n=40) at arc4random.c:139
139 _rs_stir_if_needed(n);
#0 0x0000000000462ca9 in _rs_random_buf (_buf=0x7fffff3ff070, n=40) at arc4random.c:139
buf = 0x7fffff3ff070 ""
m = 0
#1 0x0000000000462ec1 in arc4random_buf (buf=0x7fffff3ff070, n=40) at arc4random.c:211
No locals.
#2 0x00007ffff76c62d0 in RAND_bytes (buf=<optimized out>, num=<optimized out>) at rand/rand_lib.c:90
No locals.
#3 0x0000000000462ad0 in _rs_stir () at arc4random.c:81
rnd = '\000' <repeats 39 times>
#4 0x0000000000462bad in _rs_stir_if_needed (len=40) at arc4random.c:106
pid = 9896
#5 0x0000000000462cae in _rs_random_buf (_buf=0x7fffff3ff150, n=40) at arc4random.c:139
buf = 0x7fffff3ff150 ""
m = 0
#6 0x0000000000462ec1 in arc4random_buf (buf=0x7fffff3ff150, n=40) at arc4random.c:211
No locals.
#7 0x00007ffff76c62d0 in RAND_bytes (buf=<optimized out>, num=<optimized out>) at rand/rand_lib.c:90
No locals.
#8 0x0000000000462ad0 in _rs_stir () at arc4random.c:81
rnd = '\000' <repeats 39 times>
BLEH BLEH BLEH
#83966 0x0000000000462ec1 in arc4random_buf (buf=0x7fffff795650, n=40) at arc4random.c:211
No locals.
#83967 0x00007ffff76c62d0 in RAND_bytes (buf=<optimized out>, num=<optimized out>) at rand/rand_lib.c:90
No locals.
#83968 0x0000000000462ad0 in _rs_stir () at arc4random.c:81
rnd = '\000' <repeats 39 times>
#83969 0x0000000000462bad in _rs_stir_if_needed (len=40) at arc4random.c:106
pid = 9896
#83970 0x0000000000462cae in _rs_random_buf (_buf=0x7fffff795730, n=40) at arc4random.c:139
buf = 0x7fffff795730 ""
m = 0
#83971 0x0000000000462ec1 in arc4random_buf (buf=0x7fffff795730, n=40) at arc4random.c:211
No locals.
#83972 0x00007ffff76c62d0 in RAND_bytes (buf=<optimized out>, num=<optimized out>) at rand/rand_lib.c:90
No locals.
#83973 0x0000000000462ad0 in _rs_stir () at arc4random.c:81
rnd = '\000' <repeats 39 times>
#83974 0x0000000000462bad in _rs_stir_if_needed (len=40) at arc4random.c:106
pid = 9896
#83975 0x0000000000462cae in _rs_random_buf (_buf=0x7fffff795810, _buf@entry=<error reading variable: Cannot access memory at address 0x7fffff7957c8>, n=40) at arc4random.c:139
buf = 0x7fffff795810 <Address 0x7fffff795810 out of bounds>
m = 0
A debugging session is active.
Inferior 1 [process 9896] will be killed.
configure:15701: checking LibreSSL header version
configure:15738: gcc -o conftest -g -O2 -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -I/usr/local/include -L/usr/local/lib conftest.c -lcrypto -lssl -lrt -lz -lnsl >&5
conftest.c: In function 'main':
conftest.c:114:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
conftest.c:114:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
conftest.c:116:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat]
configure:15738: $? = 0
configure:15738: ./conftest
configure:15738: $? = 0
configure:15741: result: 20000000 (LibreSSL 2.2.0)
configure:15757: checking LibreSSL library version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment