C utility functions for OpenWrt (mirror)

Felix Fietkau eac92a4d5d blobmsg: add blobmsg_parse_array_attr 3 weeks ago
examples f4e9bf73ac examples/lua: attempt to highlight some traps 2 years ago
lua c87d3e1fb6 lua/uloop: use uloop_timeout_remaining64 1 year ago
sh ea56013409 jshn.sh: add json_add_fields function for adding multiple fields at once 4 months ago
tests a0dbcf8b8f tests: add blob-buffer overflow test 1 year ago
.gitignore 5326ce1046 examples: add shunit2 tests for json_script 7 years ago
.gitlab-ci.yml b0a5cd8a28 add cram based unit tests 3 years ago
CMakeLists.txt b0886a37f3 cmake: add a possibility to set library version 3 years ago
assert.h 8baeeea1f5 add assert.h component 3 years ago
avl-cmp.c 72613ca2c8 avl: add blob comparator function 6 years ago
avl-cmp.h 72613ca2c8 avl: add blob comparator function 6 years ago
avl.c 9b6ede0e53 avl: guard against theoretical null pointer dereference 3 years ago
avl.h ace64897d4 switch from typeof to the more portable __typeof__ 4 years ago
base64.c 0003ea9c45 base64: fix possible null pointer dereference 3 years ago
blob.c f2d6752901 blob: clear buf->head when freeing a buffer 11 months ago
blob.h 143303149c Ensure blob_attr length check does not perform out of bounds reads 3 years ago
blobmsg.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc 8 months ago
blobmsg.h eac92a4d5d blobmsg: add blobmsg_parse_array_attr 3 weeks ago
blobmsg_json.c 1ffa415353 blobmsg_json: prefer snprintf usage 3 years ago
blobmsg_json.h d3fa561e5a blobmsg_json: add new functions blobmsg_format_json_value* 6 years ago
jshn.c a2aab30fc9 jshn: prefer snprintf usage 3 years ago
json_script.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc 8 months ago
json_script.h 3d45c47752 json_script: add support for aborting script processing 7 years ago
kvlist.c 1f019ceea1 Fix various memory management issues 6 years ago
kvlist.h d0312bd9b1 kvlist: add static initializer macros 6 years ago
list.h 45210ce141 list.h: add container_of_safe macro 9 months ago
md5.c 7237302147 md5: add "const" qualifier to the "file" argument 5 years ago
md5.h 7237302147 md5: add "const" qualifier to the "file" argument 5 years ago
runqueue.c 89fb6136ad libubox: runqueue: fix use-after-free bug 2 years ago
runqueue.h 89fb6136ad libubox: runqueue: fix use-after-free bug 2 years ago
safe_list.c bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue 9 years ago
safe_list.h bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue 9 years ago
ulog.c 46f8268b4b blobmsg/ulog: fix format string compiler warnings 3 years ago
ulog.h 9dd2dcff70 libubox: add format string checking to ulog() 3 years ago
uloop-epoll.c 372e1e65ef uloop: remove useless epoll data assignment 6 years ago
uloop-kqueue.c 4e3a47a4cb uloop: use a waker for notifying sigchld and loop cancel events 6 years ago
uloop.c 3344157381 uloop: add uloop_timeout_remaining64 1 year ago
uloop.h c86a894ec6 uloop: deprecate uloop_timeout_remaining 1 year ago
usock.c 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support 7 years ago
usock.h 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support 7 years ago
ustream-fd.c bc7e277276 ustream-fd: handle ENOTCONN for read/write on not-yet-connected sockets 7 years ago
ustream.c 1f019ceea1 Fix various memory management issues 6 years ago
ustream.h ecf56174da ustream: Add format string checks to ustream_(v)printf() 3 years ago
utils.c 5bc0146a1d utils: simplify mkdir_p boolean conditions 2 years ago
utils.h b8abed7494 utils.h: add fallthrough macro 1 year ago
vlist.c e9fb256ca5 vlist: constify key argument to vlist_add 9 years ago
vlist.h cce5e35127 vlist: define vlist_for_each_element_safe 1 year ago