[sr-dev] [kamailio/kamailio] crash: not aligned memory access related to pv parsing (#2798)

sergey-safarov notifications at github.com
Mon Jul 12 10:22:10 CEST 2021


Tested values
1. 31 - crash;
2. 32 - crash;
3. 33 - crash;
4. 34 - crash;
5. 35 - crash;
6. 36 - no crash;
7. 37 - no crash;
8. 38 - no crash;
9. 39 - no crash;
10. 40 - no crash;
11. 300 - no crash.

Then I add at end of the config file
```
    $var(tmp) = $hdr(X-hdr17);
```
and make test again
1. 36 - crash;
2. 37 - no crash.

Then I add at end of the config file
```
    $var(tmp) = $hdr(X-hdr18);
```
and make test again
1. 37 - crash;
2. 38 - no crash.

Then I add at end of the config file
```
    $var(tmp) = $hdr(X-hdr19);
```
and make test again
1. 38 - crash;
2. 39 - no crash.

Then I add at end of the config file
```
    $var(tmp) = $hdr(X-hdr20);
```
and make test again
1. 39 - crash;
2. 40 - no crash.

Probable if I add 300 strings like `$var(tmp) = $hdr(X-hdr20);` then issue will be reproduced with `pv_buffer_slots = 300`,

-- 
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/2798#issuecomment-878076418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210712/ff6d9a78/attachment.htm>


More information about the sr-dev mailing list