CVS commit: src/lib/libbluetooth

2024-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 18 05:13:58 UTC 2024 Modified Files: src/lib/libbluetooth: bluetooth.c Log Message: libbluetooth: constify result of strchr lint warned: > call to 'strchr' effectively discards 'const' from argument [346] No binary

CVS commit: src/lib/libbluetooth

2024-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 18 05:13:58 UTC 2024 Modified Files: src/lib/libbluetooth: bluetooth.c Log Message: libbluetooth: constify result of strchr lint warned: > call to 'strchr' effectively discards 'const' from argument [346] No binary

CVS commit: src/lib/libbluetooth

2019-10-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 3 17:10:16 UTC 2019 Modified Files: src/lib/libbluetooth: bt_dev.c Log Message: Use strlcpy to NUL terminate the name string here. The kernel already uses strlcpy() to set values in this field. We leave the kernel's

CVS commit: src/lib/libbluetooth

2019-10-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 3 17:10:16 UTC 2019 Modified Files: src/lib/libbluetooth: bt_dev.c Log Message: Use strlcpy to NUL terminate the name string here. The kernel already uses strlcpy() to set values in this field. We leave the kernel's

Re: CVS commit: src/lib/libbluetooth

2011-04-04 Thread Alan Barrett
On Mon, 04 Apr 2011, Iain Hibbert wrote: Modified Files: src/lib/libbluetooth: sdp_get.c Log Message: handle overflowed values correctly, also put a compile time guard to warn if INTMAX won't fit in INT64 (all our ports currently have INTMAX = INT64) The actual code tests #if

Re: CVS commit: src/lib/libbluetooth

2011-04-04 Thread Iain Hibbert
On Mon, 4 Apr 2011, Alan Barrett wrote: On Mon, 04 Apr 2011, Iain Hibbert wrote: Modified Files: src/lib/libbluetooth: sdp_get.c Log Message: handle overflowed values correctly, also put a compile time guard to warn if INTMAX won't fit in INT64 (all our ports currently have