[bluez/bluez] 086150: shared/util: Introduce strnlenutf8

From: Luiz Augusto von Dentz <hidden>
Date: 2025-07-09 13:41:08

  Branch: refs/heads/980525
  Home:   https://github.com/bluez/bluez
  Commit: 0861503351ffcefcb2ed690f71f9a332de204f45
      https://github.com/bluez/bluez/commit/0861503351ffcefcb2ed690f71f9a332de204f45
  Author: Luiz Augusto von Dentz [off-list ref]
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M src/shared/util.c
    M src/shared/util.h

  Log Message:
  -----------
  shared/util: Introduce strnlenutf8

This introduces strnlenutf8 which works similarly to strnlen but return
only the number of valid bytes of UTF-8 encoded string then replace the
other copies of similar code.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help