mirror of
https://github.com/brazilofmux/tinymux
synced 2026-08-13 00:23:11 -04:00
- mail_mod.cpp: close malloc/free mismatch and FinalConstruct cleanup as false alarms (strdup→free is correct; destructor null-checks all interface pointers individually). - comsys PlayerNuke(): add player < 0 guard returning MUX_E_INVALIDARG. - debian/postinst: new — restricts config files to mode 640 on install. - convert/configure.ac: error if yacc/lex not found instead of silent fallthrough; fix AC_CHECK_LIB to test yywrap instead of main. - Update ISSUES.md trackers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
394 B
Bash
Executable file
18 lines
394 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
# Restrict permissions on configuration files that may contain
|
|
# sensitive settings (port numbers, passwords, SSL paths).
|
|
#
|
|
if [ "$1" = "configure" ]; then
|
|
for conf in netmux.conf mux.config muxssl.conf alias.conf compat.conf; do
|
|
f="/usr/share/tinymux/game/$conf"
|
|
if [ -f "$f" ]; then
|
|
chmod 640 "$f"
|
|
fi
|
|
done
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|