C utility functions for OpenWrt (mirror)

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