Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-16 | socket: Allow NULL as address for socket_create() and socket_connect() | Nikias Bassen | 1 | -8/+0 | |
This will connect to localhost without the need to specify localhost or 127.0.0.1 or ::1 and also makes this invulnerable to DNS rebind attacks. | |||||
2024-01-30 | Move LIMD_GLUE_API definitions to public headers | Nikias Bassen | 9 | -71/+75 | |
2023-12-26 | socket: Conditionally compile using poll or select based on availability | Nikias Bassen | 1 | -27/+85 | |
2023-12-26 | socket: Fix select failing when the process has many file descriptors by ↵ | messi | 1 | -79/+100 | |
using poll instead This happens, for example, when a process links with libusbmuxd, and the process is file descriptor heavy. Note: 'poll' means the syscall poll, not a polling approach. This patch does not add a busy wait and is not a performance regression. | |||||
2023-12-11 | opack: Fix parsing of 32 and 64 bit packed values | Nikias Bassen | 1 | -2/+2 | |
32 and 64 bit packed values were not parsed correctly due to bad pointer manipulation. Thanks to @cornejo for spotting this! | |||||
2023-12-11 | win32: Remove windows.h from public headers | Nikias Bassen | 1 | -5/+8 | |
2023-11-10 | opack: Fixed 32bit buffer overflow | Nikias Bassen | 1 | -1/+1 | |
Thanks to @cornejo for spotting this! | |||||
2023-04-19 | Remove plist-related code in favor of new libplist API | Nikias Bassen | 1 | -239/+1 | |
2023-01-09 | Fix compilation on cygwin | Josef Micka | 1 | -0/+6 | |
2022-04-22 | [clang-tidy] Do not use else after return/break/continue | Rosen Penev | 1 | -2/+1 | |
Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] utils: Fix too small loop variable | Rosen Penev | 1 | -1/+1 | |
Found with bugprone-too-small-loop-variable Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] use uppercase numeric literals | Rosen Penev | 1 | -4/+4 | |
Found with readability-uppercase-literal-suffix Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-04 | utils: Close file if buffer allocation fails in buffer_read_from_filename() | Nikias Bassen | 1 | -0/+1 | |
Thanks @demhademha for pointing this out. | |||||
2022-03-29 | socket: Add socket_get_socket_port function | Nikias Bassen | 1 | -0/+21 | |
2022-02-09 | utils: Use libplist's plist_from_memory instead of duplicating format detection | Nikias Bassen | 1 | -5/+1 | |
2022-02-04 | Add support for Apple's OPACK encoding and TLV format | Nikias Bassen | 3 | -0/+674 | |
2022-02-04 | Add a simple char buffer implementation | Nikias Bassen | 2 | -0/+68 | |
2021-11-24 | socket: Add FreeBSD supprt to get_primary_mac_address | Cameron Katri | 1 | -2/+6 | |
2021-10-19 | utils: Fix bad malloc result check in buffer_read_from_filename and test ↵ | Nikias Bassen | 1 | -1/+5 | |
arguments for NULL | |||||
2021-09-13 | Check availability of constructor attribute and use it on Windows in favor ↵ | Nikias Bassen | 1 | -10/+18 | |
of DllMain | |||||
2021-08-30 | thread: Make sure cond_* API is publicly exported | Nikias Bassen | 1 | -5/+5 | |
2021-08-30 | utils: Make MAC_EPOCH define public | Nikias Bassen | 1 | -2/+0 | |
2021-06-21 | utils: Make sure to add MAC_EPOCH when printing PLIST_DATE nodes | Nikias Bassen | 1 | -1/+3 | |
2021-06-21 | utils: Add plist_print_to_stream_with_indentation() | Nikias Bassen | 1 | -3/+7 | |
2021-06-11 | termcolors: Cast to correct type for format string specifier | Nikias Bassen | 1 | -2/+2 | |
2021-06-11 | utils: Suppress compiler warning | Nikias Bassen | 1 | -0/+3 | |
2021-06-11 | thread(win32): Make sure cond_wait and cond_wait_timeout return a value | Nikias Bassen | 1 | -2/+15 | |
2021-06-11 | Add helper for handling colored terminal output | Nikias Bassen | 3 | -4/+397 | |
2021-06-07 | socket: Add get_primary_mac_address() | Nikias Bassen | 1 | -0/+62 | |
2021-06-07 | Initial check-in of sources | Nikias Bassen | 7 | -0/+2096 | |