[LITMUS^RT] Error Compiling liblitmus
Björn Brandenburg
bbb at mpi-sws.org
Fri Jul 15 10:56:16 CEST 2016
> On 15 Jul 2016, at 01:49, Roohollah <roohollahamiri at u.boisestate.edu> wrote:
>
> I am trying to compile liblitmus, the latest version. But I am getting the following error:
>
> src/migration.c:83:27: error: array subscript is below array bounds [-Werror=array-bounds]
>
> I am using Fedora 24, gcc-6.1.1 . Is there any one know how to solve that problem?
Looks like there’s an out-of-bounds access in Glenn’s domain parsing code.
https://github.com/LITMUS-RT/liblitmus/blob/master/src/migration.c#L83
However, Mahir recently patched that loop and changed one of the indices. Perhaps the patch was incomplete?
https://github.com/LITMUS-RT/liblitmus/commit/322eaadaa95b4f64f4102a9bc6aaa2237401ae41
Mahir, can you please look into this?
Thanks,
Björn
More information about the litmus-dev
mailing list