Michael Ortmann

Results 188 comments of Michael Ortmann

> How do I , as a non-root user, compile a module I downloaded that isn't globally installed- We need to also install eggdrops header files into include/ or include/eggdrop.

I can repeat the crash. tcl tolower() crashes on Unicode like "yawning face" (\360\237\245\261) and it is not limited to freebsd. i can repeat the crash unter freebsd and linux...

Here is a full backtrace with debug tcl. eggdrop version ea8aa3150f095c84e3ef34912e6bfb0822b1b8a2 ``` $ uname -ms Linux x86_64 ``` ``` $ LD_LIBRARY_PATH=/home/michael/opt/tcl-8.6.11/lib ./eggdrop -v Eggdrop v1.9.1+alpha (C) 1997 Robey Pointer (C)...

i would decode the crashing code to something like `if (c & 0xc0) == 0x80 ` which looks like a part of an utf-8 detection routine: ``` [0x7f5ba88859e2]> drr role...

The crash happens in Tcl_UtfToUniChar(). git tcl function https://github.com/tcltk/tcl/blob/main/generic/tclUtf.c changes between tcl versions. tcl git branch core-8-6 commit 8e344ad3394e9f52ee250909dd2874b853a3c8e6 also crashes. tcl git 9.0 cant be tested due to changed...

Here is some debug output captured in check_tcl_pubm() irc.c:934 with `r = Tcl_SetVar(interp, "_pubm5", msg, 0);` addresses are different from the backtrace above, new run + ASLR: ``` check_tcl_pubm(): chname...

@thommey: can i do anything to help with the test?

Uncertainty regarding offsetof vs. sizeof can be treated by using them correctly, so whatever stackoverflow sais: offsetof

Testbot is running since 3 days, see: https://www.eggheads.org/irc/uptime_lookup/9fc6e170ef2b9c835f1140a32b7a52a8 The tcpdump of the first packets is shown above, so i don't expect any surprize. **If you don't need this testbot any...

Note to my future self: Maybe we should not do the nmalloc / memcpy(mem, upPack) nor use flexible array member here, but simply set PackUp char string to the maximum...