jcs
/subtext
/amendments
Amendments on July 15, 2022
board: Don't pre-alloc a bunch of ids in board_find_post_ids
If we return early or we return no ids, we shouldn't have a dangling
malloc(sizeof(long) * 16) that the caller might not know to free
since the count returned will be 0.
bile: Fix bogus free in bile_sorted_ids_by_type
ids was not being initialized to NULL, so when passed to EXPAND_TO_FIT,
realloc is doing a free of some junk pointer before malloc'ing a new
one.
Amendments on July 14, 2022
telnet: When banning an IP, optionally send it via UDP to trusted proxy
If the new trusted_proxy_udp_port config option is set, send a UDP
packet containing the IP to the trusted_proxy_ip host so it can ban
it more aggressively.
jcs made amendment
203
10 months ago
Amendments on July 13, 2022
jcs made amendment
202
10 months ago
sysop: Write new config but don't apply it on the fly
There are things in the idle loop that check for config settings and
we can't assume they were there at startup
Amendments on July 12, 2022
jcs made amendment
200
10 months ago
jcs made amendment
199
10 months ago
jcs made amendment
198
10 months ago
jcs made amendment
197
10 months ago
jcs made amendment
196
10 months ago
jcs made amendment
195
10 months ago
jcs made amendment
194
10 months ago
jcs made amendment
193
10 months ago
jcs made amendment
192
10 months ago
session: A few fixes and improvements
Make session_menu a bit more helpful and hide options with a null key
set, don't repeat "Invalid option" more than once
Add session_get_char for file transfers
jcs made amendment
190
10 months ago
Amendments on July 11, 2022
zmodem: Bug fixes, remove send/recv abstraction
This doesn't really need to be portable, just call session functions
directly.
Reduce state timeouts to 10 seconds, but leave at 30 for the initial
Init state when receiving to give the user time to choose a file to
send us.
Fix IAC escaping on the way out.
telnet: When doing file transfers, fast-path to TCP buffer
We're doing IAC escaping in the zmodem code, so just move data
directly into node buffer. Also, avoid memmoving on each read since
the buffer will often have more than one byte in it, just use an
offset into ibuf and only memmove when it's over half full.
jcs made amendment
187
10 months ago