[sr-dev] [kamailio/kamailio] cfg_rpc updates changing variable values to large random numbers (#1583)
vinesinha
notifications at github.com
Tue Jul 10 00:22:48 CEST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180709/db429eed/attachment.html>
More information about the sr-dev
mailing list