Skip to content

Commit

Permalink
Update core/utils.h
Browse files Browse the repository at this point in the history
Co-authored-by: Reto Schneider <[email protected]>
  • Loading branch information
LukasWoodtli and rettichschnidi authored Jan 8, 2025
1 parent 09eb929 commit 087da03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lwm2m_client_t *utils_findClient(lwm2m_context_t *contextP, void *fromSessionH);
#endif
/** A safer version of `strlen`. Finds the number of chars (bytes) of the given string up to a given max. length.
*
* The behaviour is undefined if the provided maximum length is bigger than the reserved memory for the given string.
* The behaviour is undefined if the maximum length value is bigger than the actually reserved memory behind the @a str buffer.
*
* @param str The null-terminated string to find the length of.
* @param max_size Max size of string.
Expand Down

0 comments on commit 087da03

Please sign in to comment.