[sr-dev] [kamailio/kamailio] rtpengine: google sanitizer aligment warning (Issue #3058)

Daniel-Constantin Mierla notifications at github.com
Thu Mar 24 16:06:24 CET 2022


The structure in master branch is:

```c
struct bencode_item {
	bencode_type_t type;
	struct iovec iov[2];	/* when decoding, iov[1] contains the contents of a string object */
	unsigned int iov_cnt;
	unsigned int str_len;	/* length of the whole ENCODED object. NOT the length of a byte string */
	long long int value;	/* when decoding an integer, contains the value; otherwise used internally */
	bencode_item_t *parent, *child, *last_child, *sibling;
	bencode_buffer_t *buffer;
	char __buf[0];
};
```

Did you shift the other fields as well, not only the one in the diff?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3058#issuecomment-1077731420
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3058/1077731420 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220324/ee8216c5/attachment.htm>


More information about the sr-dev mailing list