On 8/31/20 10:51 PM, Rosen Penev wrote:
On Aug 31, 2020, at 9:41 AM, Hauke Mehrtens wrote:
On 8/31/20 11:35 AM, Petr Štetiar wrote:
Rosen Penev [2020-08-31 02:06:50]:
I compile with target GCC 10, not host.
Then as you can see its probably some issue with GCC 10 for that target (which
> On Aug 31, 2020, at 9:41 AM, Hauke Mehrtens wrote:
>
> On 8/31/20 11:35 AM, Petr Štetiar wrote:
>> Rosen Penev [2020-08-31 02:06:50]:
>>
>>> I compile with target GCC 10, not host.
>>
>> Then as you can see its probably some issue with GCC 10 for that target
>> (which
>> one is that?) or
On 8/31/20 11:35 AM, Petr Štetiar wrote:
> Rosen Penev [2020-08-31 02:06:50]:
>
>> I compile with target GCC 10, not host.
>
> Then as you can see its probably some issue with GCC 10 for that target (which
> one is that?) or something like that, because I'm not able to trigger that
> with my GCC
Rosen Penev [2020-08-31 02:06:50]:
> I compile with target GCC 10, not host.
Then as you can see its probably some issue with GCC 10 for that target (which
one is that?) or something like that, because I'm not able to trigger that
with my GCC 10. Your proposed fix seems not correct as well, as b
Sent from my iPhone
> On Aug 31, 2020, at 01:29, Petr Štetiar wrote:
>
> Rosen Penev [2020-08-31 00:53:32]:
>
/service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is
out of the bounds of referenced subobject 'name' with type 'uint8_t[]'
{aka 'unsigned char[]'} a
Rosen Penev [2020-08-31 00:53:32]:
> >> /service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is
> >> out of the bounds of referenced subobject 'name' with type 'uint8_t[]'
> >> {aka 'unsigned char[]'} at offset 6 [-Werror=array-bounds]
> >> 242 | s->id = strncpy(d_id, blobmsg_name(
> On Aug 31, 2020, at 00:08, Petr Štetiar wrote:
>
> Rosen Penev [2020-08-30 15:07:03]:
>
> Hi,
>
>> /service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is
>> out of the bounds of referenced subobject 'name' with type 'uint8_t[]'
>> {aka 'unsigned char[]'} at offset 6 [-Werror
Rosen Penev [2020-08-30 15:07:03]:
Hi,
> /service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is
> out of the bounds of referenced subobject 'name' with type 'uint8_t[]'
> {aka 'unsigned char[]'} at offset 6 [-Werror=array-bounds]
> 242 | s->id = strncpy(d_id, blobmsg_name(b), n)
The previous fix seems to not be enough.
/service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is
out of the bounds of referenced subobject 'name' with type 'uint8_t[]'
{aka 'unsigned char[]'} at offset 6 [-Werror=array-bounds]
242 | s->id = strncpy(d_id, blobmsg_name(b), n);
Signe