- Jan 05, 2025
-
-
Deucе authored
If anything that should send/receive data returns CRYPT_ERROR_COMPLETE tell the I/O threads to temrinate so conn_connected() will return false Another attempt at bug 174.
-
Deucе authored
Historically, casting to void would suppress warnings about things being unused. However, an attribute was created for functions like realloc() where not using the result is always a bug, so when the attribute is used, you must actually use the return value and can't cast to void to avoid a warning. Given this attribute, the glibc authors decided to apply it to all the functions that usually should have their return value checked (chdir(), write(), etc) when _FORTIFY_SOURCE is defined because if you care about correctness enough to define _FORTIFY_SOURCE, you'll always do something useful with these return values. Extending the hilarity, some distros define _FORTIFY_SOURCE by default. The result is functions that occasionally can safely be called regardless of the return value will throw a warning if you don't "do something" with that return value. Of course, you can just turn off the warnings completely with a compiler flag, but then you lose the excellent warning about things like realloc() that always make sense and were the original reason for the option.
-
Deucе authored
Pretty much all new compilers these days will define all the GCC macros so it's impossible to detect GCC from predefined macros without adding a list of all the compilers that pretend to be GCC if defined(__GNUC__) && !defined(__clang__) && !defined(____INTEL_COMPILER)
-
Rob Swindell authored
Overhaul LZH code See merge request !489
-
-
Deucе authored
Fixes memory leak found by scan-build.
-
Deucе authored
Found by scan-build
-
Deucе authored
Found by scan-build
-
Deucе authored
Found by scan-build
-
Deucе authored
This would be an API violation, but we shouldn't crash about it.
-
Deucе authored
Prevents randomly sized windows in X11 mode when the max window size can't be read from window manager. Found by scan-build
-
Deucе authored
Prevents X11 mode from doing very weird things when we are unable to get the max window size from the window manager. Found by scan-build
-
Deucе authored
Previously, this could (but likely wouldn't) result in accesses outside of allocated memory, doing Very Bad Things. Found by scan-build
-
Deucе authored
In the CSI 38 : 2 : Z? : R : G : B m variant, if there was no sub params (ie: CSI 38 : m), a read out of bounds would be triggered. Found by scan-build
-
Deucе authored
Fixes potential read of uninitialized data. Found by scan-build
-
Deucе authored
If strbuf is over 5MB, or the realloc() fails, clear strbuf and break before writing to strbuf. Found by scan-build
-
Deucе authored
That's just silly. Found by scan-build
-
Deucе authored
Shouldn't happen, but if it does, return an error, don't dereference Found by scan-build.
-
Deucе authored
Caught by scan-build. Not actually possible with any of the current backends, but the API would allow it to happen.
-
Rob Swindell authored
-
Rob Swindell authored
fix for commit 6e69eec1
-
Rob Swindell authored
This especially important/noticeable on a 4K monitor.
-
Deucе authored
Previously, it wrote to the last cell on the screen, so would detect column 1 in terminals that wrapped, now moves back one cell before printing the _. Also, since that's fixed, grab the number of columns as well.
-
Deucе authored
-
Deucе authored
This can't actually happen.
-
Deucе authored
-
-
Deucе authored
-
Deucе authored
-
Deucе authored
Bwa ha ha!
-
Deucе authored
Make js_socket_sendfilesocket() suck a lot less. This commit brought to you with limited rants by Synchronet 3.20b "Warning: Your BBS may become habit forming." You could run Synchronet or you could settle for mediocrity. Once in a great while, there comes BBS software that really makes waves. Get out your surfboard. The best BBS software is the most expensive BBS software. NOT! If you had three wishes, you could toss the other two. They couldn't top Synchronet. So we did. Accept the inevitable, switch to Synchronet
-
Deucе authored
This code is fine.
-
Deucе authored
Try untainting it in recv_hex... if that doesn't work, I'll just have to ignore it I guess.
-
-
You have "call" a batch file to not terminate. Fix the fail check after building chat.exe
-
Deucе authored
It has a 4k window, we need to fill it multiple times.
-
launches 'jsexec fileman.js' (not in GDI mode)
-
-
-
Fix off-by-one error in checking TimeZoneComboBox->ItemIndex again tz_val array. When choosing the last (Other/Automatic) item, no change to the sys_timezone should be made (was setting it to 0/UTC).
-