[bluez/bluez] 378b5a: shared/util: Introduce strnlenutf8

From
Luiz Augusto von Dentz <hidden>
Date
2025-07-08 17:52:44
  Branch: refs/heads/980144
  Home:   https://github.com/bluez/bluez
  Commit: 378b5a1cc74db971d1b0d608b24c255e0e6f9f1d
      https://github.com/bluez/bluez/commit/378b5a1cc74db971d1b0d608b24c255e0e6f9f1d
  Author: Luiz Augusto von Dentz [off-list ref]
  Date:   2025-07-08 (Tue, 08 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 / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help