> On 20 Mar 2016, at 12:00, Ruben Undheim <[email protected]> wrote:
> 
> Thanks
> 
>> yes, libdbi and libdbd-sqlite3 has memory issues. They have been reported 
>> two years and remain unfixed. It is best to migrate away from this library.
>> 
>> See https://sourceforge.net/p/libdbi/mailman/message/32607036/
> 
> It seems like the memory issue is there only for 32 bits architectures.
> Does this mean that OpenBSC does not support 32 bits architectures? or is the 
> test case
> just a bit conservative?
> 
> What do you propose we do? Should we ignore that test when building the 
> Debian package, or
> should we not provide packages for 32 bits architectures?

it has nothing to do with 32bit bits.. we are just lucky on memory allocations 
with 64bit that the out of bounds memory access does not cause a crash. The 
compiler or glibc might change alignment and then there will be crashes on 
AMD64 as well.

a.) Somebody fixes libdbi/libdbd-sqlite3
b.) Somebody changes OpenBSC to not use libdbi (preferred)
c.) One downgrades to libdbi 0.8.x
d.) One doesn't build 32bit package

kind regards
        holger

Reply via email to