Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] possible small issue?

Hi devs,

 

May be I wrong, but please consider looking at function:

 

int utils_intCopy(char * buffer,

                  size_t length,

                  int32_t value)

{

    if (len > length + 1) return -1;

 

 

I think it should be something like :

 

if (len >= length) return -1;

 

 

If I wrong please just ignore.

 

Thanks,
Amir Kaplan

 

 

---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


Back to the top