In fact, adding `pragma` made things even worse, because now, even less memory 
is being assigned. 
If we check the offset of the variable being corrupted in gdb, it's the same as 
before:

```
(gdb) print var->offset
$1 = 172
(gdb) print group->var_offset
$2 = 984
```
However, since the group size of last group is 172, this 172 offset would 
corrupt 3 bytes now ... which I can see in the tests that I'm doing. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1583#issuecomment-403639151
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to