Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-03 | Modernize code by removing use of old style definitions. | Flavio Cruz | |
Also add -Werror=old-style-definition to enforce new code. Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net> | |||
2023-02-27 | libstore: Fix zero store size computation | Samuel Thibault | |
56d065041793 ("libstore: Fix undefined behavior") missed letting the sign bit be 0, thus leading to a negative store size, and thus /dev/zero would reject any read/write. | |||
2023-02-23 | pfinet: Fix shifting left into bit 31 | Samuel Thibault | |
2023-02-19 | pfinet: Align packets | Samuel Thibault | |
The Ethernet header is 14 bytes long, and thus leads to IP header misalignment. This uses skb_reserve to introduce 2 bytes of padding to realign IP headers. | |||
2023-02-16 | mach-defpager: Add defpager_server_namev0.9.git20230216 | Samuel Thibault | |
To allow e.g. libubsan to detect it should be extra cautious. | |||
2023-02-16 | mach-defpager: Fix crash on pthread_cond_broadcast | Samuel Thibault | |
We need to keep ds locked, otherwise it might disappear before we have a chance to broadcast the condition. | |||
2023-02-15 | nfs: Fix shifting left | Samuel Thibault | |
Shifting signed 0xffffffff 32 bit left is undefined behavior. Cast to unsigned to make it defined behavior. | |||
2023-02-15 | Fix accessing bit 31 | Samuel Thibault | |
Shifting (signed) 1 to left 31 positions is undefined behavior. So make this an unsigned so it becomes defined behavior. | |||
2023-02-10 | libstore: Fix undefined behavior | Samuel Thibault | |
store_offset_t is a signed type, so 1 << (bits-1) overflows. | |||
2023-02-03 | procfs: Actually add padding to align struct dirent | Samuel Thibault | |
d21b09b32895 was computing the amount and filling it, but not actually enforcing it. | |||
2023-02-02 | Avoid variable length array with size zero | Samuel Thibault | |
2023-02-02 | Avoid unaligned memory accesses | Samuel Thibault | |
2023-02-02 | Avoid undefined-behavior | Samuel Thibault | |
1 << 31 is undefined behavior, 1 needs to be made unsigned for << 31 to be defined behavior. | |||
2023-02-02 | procfs: Add padding to align struct dirent | Samuel Thibault | |
2023-02-02 | ext2fs: use __alignof (struct dirent) instead of hardcoding 4 | Samuel Thibault | |
2023-02-02 | Avoid passing NULL to memcpy | Samuel Thibault | |
2023-01-31 | Add --without-libtirpc | Samuel Thibault | |
To facilitate cross-build without tinkering with pkg-config. | |||
2023-01-19 | Fix some compiler warnings | Svante Signell | |
2023-01-18 | Fix compiler warning | Svante Signell | |
2023-01-02 | libtrivfs: Avoid passing uninitialized seconds field | Samuel Thibault | |
Even if microseconds being -1 is enough, better not leak uninitialized values. | |||
2023-01-02 | fsys_get_children: Fix double-free on error | Samuel Thibault | |
2023-01-02 | boot: Fix erroneous munmap in S_io_read on error | Samuel Thibault | |
2023-01-02 | fsys_get_children: Fix comparing strings | Samuel Thibault | |
2023-01-02 | fsys_get_children: Fix memleak on error | Samuel Thibault | |
2023-01-01 | procfs: Fix checking underrun | Samuel Thibault | |
2023-01-01 | mach-defpager: Fix computing free space | Samuel Thibault | |
2023-01-01 | utils: Fix calling multi-line macro | Samuel Thibault | |
2023-01-01 | console: Fix checking negative cursor coordinates | Samuel Thibault | |
2023-01-01 | vmstat: Support 64bit memory size | Samuel Thibault | |
2023-01-01 | settrans: Fix checking len being negative | Samuel Thibault | |
2023-01-01 | console-client: Fix erroneous allocation check | Samuel Thibault | |
2023-01-01 | pids: Fix pointer arithmetic | Samuel Thibault | |
2023-01-01 | Fix accessing cred before checking it is non-NULL | Samuel Thibault | |
2023-01-01 | libnetfs: Fix dereferencing NULL on memory shortage | Samuel Thibault | |
2023-01-01 | pflocal: Fix unsafe increment of refs | Samuel Thibault | |
2023-01-01 | Do not ignore value returned by get_privileged_ports | Samuel Thibault | |
2023-01-01 | libnetfs: do not ignore errors from netfs_validate_stat | Samuel Thibault | |
2023-01-01 | libdiskfs: white-list fall-through in switch | Samuel Thibault | |
2023-01-01 | procfs: Avoid fclosing NULL on memory shortage | Samuel Thibault | |
2023-01-01 | libfshelp-tests: Fix out-of-bound access | Samuel Thibault | |
2023-01-01 | pfinet: Fix using uninitialized value | Samuel Thibault | |
2023-01-01 | nonsugid: Fix memleak | Samuel Thibault | |
2023-01-01 | trans: Drop spurious deref | Samuel Thibault | |
That was a remnant of manual port lookup. | |||
2023-01-01 | pflocal: Avoid setting sock fields on error | Samuel Thibault | |
2023-01-01 | console: Avoid setting pointer on error | Samuel Thibault | |
2023-01-01 | console-client: Fix erroneous free on error | Samuel Thibault | |
2023-01-01 | libpager: Fix memleak on error | Samuel Thibault | |
2023-01-01 | _merge_implied_gids: Fix memleak on error | Samuel Thibault | |
2023-01-01 | libtrivfs: Fix memleak on error | Samuel Thibault | |
2023-01-01 | fstab: Fix memleak on error | Samuel Thibault | |