[Date Prev][Date Next] [Chronological] [Thread] [Top]

Unaligned access in BER decoder (ITS#535)



Full_Name: Christian Zuckschwerdt
Version: 1.2.10
OS: OSF1 V4.0 alpha
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (134.106.21.48)


There seems to be a unaligned access problem for Tru64 (alpha cpu):

Unaligned access <slapd> va=0x14048fa8c pc=0x12003eb98 ra=0x12003eb80

Program received signal SIGBUS, Bus error.
ber_getnint (ber=0x0, num=0x14048fa8c, len=1) at decode.c:166
166             return( len );                               

(gdb) bt                      
#0  ber_getnint (ber=0x0, num=0x14048fa8c, len=1) at decode.c:166
#1  0x12003ec28 in ber_get_int (ber=0x140015100, num=0x14048fa8c)
    at decode.c:177                                              
#2  0x12003f458 in ber_scanf (ber=0x140015100, fmt=0x1400012d6 "iiib")
    at decode.c:445                                                   
#3  0x12000c3e0 in do_search (conn=0x14006ce78, op=0x14047b680) at search.c:65
#4  0x12000ba88 in connection_operation (arg_v=0x0) at connection.c:74        
#5  0x3ff805b5aec in __thdBase ()