Segfault when using flat-file created by moonshot-webp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Project Moonshot |
Fix Released
|
Undecided
|
Kevin Wasserman |
Bug Description
When the flat file store exists, but the gnome keyring one doesn't, freeradius (or more specifically, the tidc) segfaults:
[Switching to Thread 0xb55b8b70 (LWP 17766)]
peerInitEapChan
244 init_sec_context.c: No such file or directory.
(gdb) bt full
#0 peerInitEapChan
buf = 0x8323058
major = 0
krbContext = 0x0
princ = 0x8322fc8
nameBuf = {length = 13, value = 0x8322398}
#1 eapGssSmInitAcc
major = <optimized out>
#2 0xb4d72f1d in gssEapSmStep (minor=
chanBinding
smp = <optimized out>
major = <optimized out>
tmpMajor = <optimized out>
tmpMinor = <optimized out>
inputTokens = {buffers = {count = 0, elements = 0x0}, types = 0x0}
smFlags = 0
i = <optimized out>
j = <optimized out>
tokType = 3082227399
#3 0xb4d677e8 in gssEapInitSecCo
input_
at init_sec_
major = <optimized out>
tmpMinor = <optimized out>
#4 0xb4d67be2 in gss_init_
ret_
major = <optimized out>
tmpMinor = 9
ctx = 0x8315df8
#5 0xb79215a6 in gss_init_
No symbol table info available.
#6 0xb7a13a6f in ?? () from /usr/lib/
No symbol table info available.
#7 0xb7a119fe in tidc_open_
No symbol table info available.
#8 0xb7a2b461 in tr_query_realm (q_realm=
at src/modules/
conn = 0
rc = <optimized out>
gssctx = <optimized out>
cookie = 0x826fbc8
#9 0xb7a2a8aa in check_for_realm (returnrealm=
username = <optimized out>
vp = <optimized out>
realm = 0x0
namebuf = 0x826fbb8 ""
realmname = <optimized out>
ptr = <optimized out>
#10 check_for_realm (instance=
inst = 0x822a7d8
#11 0xb7a2aa40 in mod_authorize (instance=
rcode = <optimized out>
realm = 0x0
#12 0x08065aaa in call_modsingle (request=0x82791f8, component=1, sp=<optimized out>) at src/main/
---Type <return> to continue, or q <return> to quit---
myresult = <optimized out>
blocked = <optimized out>
#13 modcall (component=
cursor = {first = 0xb7d8da9a, found = 0x1, last = 0x0, current = 0x0, next = 0x0}
myresult = 1
mypriority = 2
stack = {pointer = 1, priority = {<optimized out> <repeats 32 times>}, result = {<optimized out> <repeats 32 times>}, children = {<optimized out> <repeats 32 times>}, start = {<optimized out> <repeats 32 times>}}
parent = 0x8232060
child = 0x82321b0
if_taken = 0
was_if = 0
#14 0x08063779 in indexed_modcall (comp=comp@entry=1, idx=idx@entry=0, request=
rcode = <optimized out>
list = 0x8232060
server = <optimized out>
#15 0x080642cb in process_authorize (autz_type=
No locals.
#16 0x08053dd0 in rad_authenticate (request=0x82791f8) at src/main/auth.c:426
namepair = <optimized out>
check_item = <optimized out>
auth_item = 0x0
module_msg = <optimized out>
tmp = <optimized out>
result = <optimized out>
autz_retry = 0 '\000'
autz_type = 0
#17 0x080727ad in request_running (action=1, request=0x82791f8) at src/main/
No locals.
#18 request_running (request=0x82791f8, action=1) at src/main/
No locals.
#19 0x0806cd6a in request_
self = 0x8247d08
#20 0xb7cd0c39 in start_thread () from /lib/i386-
No symbol table info available.
#21 0xb7bcc78e in clone () from /lib/i386-
No symbol table info available.
Changed in moonshot: | |
assignee: | nobody → Kevin Wasserman (krwasserman) |
status: | New → Fix Committed |
Changed in moonshot: | |
status: | Fix Committed → Fix Released |
This segfault occurs in mecheap while constructing channel bindings when the acceptor principal has no realm component. I'll submit a fix shortly.