Re: [Linuxptp-devel] Regarding linuxPTP static analysis..

2021-05-04 Thread Geva, Erez
On 04/05/2021 10:16, Miroslav Lichvar wrote: > On Tue, May 04, 2021 at 04:43:51PM +0900, 박웅섭 wrote: >> 1.In the text->length=c->desc.userDescription.length part of clock.c line >> 368, the length declared in the static_ptp_text structure is of type signed >> int and the length declared in the

Re: [Linuxptp-devel] Regarding linuxPTP static analysis..

2021-05-04 Thread Miroslav Lichvar
On Tue, May 04, 2021 at 04:43:51PM +0900, 박웅섭 wrote: > 1.In the text->length=c->desc.userDescription.length part of clock.c line > 368, the length declared in the static_ptp_text structure is of type signed > int and the length declared in the text structure is unsigned int. Why did > you write

[Linuxptp-devel] Regarding linuxPTP static analysis..

2021-05-04 Thread 박웅섭
Hi, I did a static analysis of linuxPTP. Among them, the violation alarm that occurred for the clock.c source code was analyzed and corrected from the viewpoint of security. I have questions among them, so I send an email. 1.In the text->length=c->desc.userDescription.length part of clock.c