Closed skcho closed 6 years ago
Hi Sungkeun,
Thanks for this interesting test case. Looking at the trace, I think the bug may be elsewhere as the output of an assignment should not be bottom if the input is not bottom. I will check and let you know.
Cheers, Gagan
Hi Sungkeun,
I have fixed the bug, it was in the handling of interval linear expressions with zero variables in the function "meet_lincons_array". There was an incorrect assumption that the coefficients can only be scalars whereas your expression generates the interval expression [-oo,+oo]=0. Thank you very much for spotting this bug.
Cheers, Gagan
Thank you Gagan. 😄 I will try that.
Sincerely, Sungkeun
Hello Gagan,
I encountered a use-after-free error in opt_pk_assign.c:1220. In my testing, it looks like
op->acl->size
is freed at line 1215 (by makingabs
to bottom I think), then is used at line 1220.https://github.com/eth-sri/ELINA/blob/dc60b03c7f84865dca78acee351c2593c712031b/elina_poly/opt_pk_assign.c#L1214-L1220
The test code is:
Message from ASAN is:
Sincerely, Sungkeun Cho