libubox: add format string checking to ulog()
authorKristupas Savickas <savickas.kristupas@gmail.com>
Thu, 6 Jun 2019 18:28:32 +0000 (21:28 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 16 Jun 2019 14:29:47 +0000 (16:29 +0200)
commit9dd2dcff70c8e6a8af872d213dd53eff04d9c86a
tree301d3799057f6b5da683467707d2c148da191b5a
parenteeef7b50a06bc3c3218d560b4b513b4e7b19127f
libubox: add format string checking to ulog()

This offers an increased level of security, as the arguments will be
checked for validity against the format string at compile time. The
format attribute is supported by both GCC and Clang, so there shouldn't
be any portability issues.

Signed-off-by: Kristupas Savickas <savickas.kristupas@gmail.com>
ulog.h