pipewire/spa
Peter Hutterer 48eadac1f1 logger: switch snprintf to spa_snprintf
The two are functionally equivalent, but spa_snprintf never returns a value
higher than the size, preventing memory corruption where our input string
exceeds the target buffer size (see c851349f1).

Niche case: we can no longer differ between real overflow and fitting an
N-byte string into an N+1 sized buffer, we now get a "...truncated" message
now for log messages of exactly 999 bytes long.
2021-06-07 15:37:51 +10:00
..
examples treewide: replace plain strcmp() calls with spa_streq 2021-05-18 22:10:27 +10:00
include spa/util: add spa_scnprintf to use over snprintf 2021-06-07 15:16:35 +10:00
plugins logger: switch snprintf to spa_snprintf 2021-06-07 15:37:51 +10:00
tests spa/util: add spa_scnprintf to use over snprintf 2021-06-07 15:16:35 +10:00
tools treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
meson.build meson: fix build if bluez5 option is disabled 2021-05-28 21:01:38 +08:00