C utility functions for OpenWrt (mirror)

Felix Fietkau eb9bcb6418 ustream: prevent recursive calls to the read callback 7 months ago
.github 12bda4bdb1 CI: add CodeQL workflow tests 8 months ago
examples 13d9b04fb0 uloop: add support for user defined signal handlers 1 year ago
lua 13d9b04fb0 uloop: add support for user defined signal handlers 1 year ago
sh 6fc29d1c42 jshn.sh: Add pretty-printing to json_dump 1 year ago
tests a0dbcf8b8f tests: add blob-buffer overflow test 3 years ago
.gitignore 5326ce1046 examples: add shunit2 tests for json_script 8 years ago
.gitlab-ci.yml b0a5cd8a28 add cram based unit tests 5 years ago
CMakeLists.txt 6339204c21 CMakeLists.txt: bump minimum cmake version 10 months ago
assert.h 8baeeea1f5 add assert.h component 5 years ago
avl-cmp.c 72613ca2c8 avl: add blob comparator function 8 years ago
avl-cmp.h 72613ca2c8 avl: add blob comparator function 8 years ago
avl.c 9b6ede0e53 avl: guard against theoretical null pointer dereference 5 years ago
avl.h ace64897d4 switch from typeof to the more portable __typeof__ 6 years ago
base64.c 0003ea9c45 base64: fix possible null pointer dereference 5 years ago
blob.c f2d6752901 blob: clear buf->head when freeing a buffer 2 years ago
blob.h 143303149c Ensure blob_attr length check does not perform out of bounds reads 4 years ago
blobmsg.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc 2 years ago
blobmsg.h eac92a4d5d blobmsg: add blobmsg_parse_array_attr 1 year ago
blobmsg_json.c 5893cf78da blobmsg: Don't do at run-time what can be done at compile-time 1 year ago
blobmsg_json.h d3fa561e5a blobmsg_json: add new functions blobmsg_format_json_value* 8 years ago
jshn.c a2aab30fc9 jshn: prefer snprintf usage 4 years ago
json_script.c cfa372ff8a blobmsg: implicitly reserve space for 0-terminator in string buf alloc 2 years ago
json_script.h 3d45c47752 json_script: add support for aborting script processing 9 years ago
kvlist.c 1f019ceea1 Fix various memory management issues 8 years ago
kvlist.h d0312bd9b1 kvlist: add static initializer macros 8 years ago
list.h 45210ce141 list.h: add container_of_safe macro 2 years ago
md5.c 7237302147 md5: add "const" qualifier to the "file" argument 7 years ago
md5.h 7237302147 md5: add "const" qualifier to the "file" argument 7 years ago
runqueue.c 89fb6136ad libubox: runqueue: fix use-after-free bug 4 years ago
runqueue.h 89fb6136ad libubox: runqueue: fix use-after-free bug 4 years ago
safe_list.c bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue 11 years ago
safe_list.h bc8167eb99 runqueue: add a function that allows adding jobs to the front of the runqueue 11 years ago
udebug-priv.h 40acbe3463 udebug: wait for response after buffer add/remove 11 months ago
udebug-proto.h d4c3066e7c udebug: add udebug library code 11 months ago
udebug-remote.c 40acbe3463 udebug: wait for response after buffer add/remove 11 months ago
udebug.c c1be505732 udebug: fix crash in udebug_entry_vprintf with longer strings 9 months ago
udebug.h e84c000c47 udebug: add inline helper function to test if a buffer is allocated 11 months ago
ulog.c 260ad5bd15 udebug: add ulog support 11 months ago
ulog.h 260ad5bd15 udebug: add ulog support 11 months ago
uloop-epoll.c b77f2a4ce9 uloop: fix build using C++ compilers 11 months ago
uloop-kqueue.c b77f2a4ce9 uloop: fix build using C++ compilers 11 months ago
uloop.c b3fa3d92e3 uloop: reset flags after __uloop_fd_delete call 11 months ago
uloop.h b77f2a4ce9 uloop: fix build using C++ compilers 11 months ago
usock.c ef5e8e38bd usock: fix poll return code check 1 year ago
usock.h 0c2fbbca80 usock: implement usock_inet_timeout() with RFC6555 support 8 years ago
ustream-fd.c bc7e277276 ustream-fd: handle ENOTCONN for read/write on not-yet-connected sockets 8 years ago
ustream.c eb9bcb6418 ustream: prevent recursive calls to the read callback 7 months ago
ustream.h eb9bcb6418 ustream: prevent recursive calls to the read callback 7 months ago
utils.c 5bc0146a1d utils: simplify mkdir_p boolean conditions 3 years ago
utils.h b8abed7494 utils.h: add fallthrough macro 3 years ago
vlist.c e9fb256ca5 vlist: constify key argument to vlist_add 11 years ago
vlist.h cce5e35127 vlist: define vlist_for_each_element_safe 2 years ago