Re: [PATCH v4 1/1] event/octeontx: fix possible integer overflow

2024-10-28 Thread Jerin Jacob
On Fri, Oct 25, 2024 at 4:28 PM Hanumanth Pothula wrote: > > The last argument passed to ssovf_parsekv() is an > unsigned char*, but it is accessed as an integer. > This can lead to an integer overflow. > > Hence, make ensure the argument is accessed as a char > and for better error handling use s

[PATCH v4 1/1] event/octeontx: fix possible integer overflow

2024-10-25 Thread Hanumanth Pothula
The last argument passed to ssovf_parsekv() is an unsigned char*, but it is accessed as an integer. This can lead to an integer overflow. Hence, make ensure the argument is accessed as a char and for better error handling use strtol instead of atoi. Bugzilla ID: 1512 Fixes: 3516327e00fd ("event/o