-
src/sbbs3/xtrn.cpp
From
rswindell@VERT to
CVS commit on Monday, January 28, 2019 13:08:00
src/sbbs3 xtrn.cpp 1.240 1.241
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv15059
Modified Files:
xtrn.cpp
Log Message:
Fix multiple potential buffer overflows in external() (for Windows) with "overly long" cmdlines.
Also fixed a bug (for Windows) where external() would return 0 (success) even when CreateProcess() fails - must re-restore the "last_error" value before returning.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, January 28, 2019 15:52:00
src/sbbs3 xtrn.cpp 1.241 1.242
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
xtrn.cpp
Log Message:
Linux-DOSEMU patch fix:
Use case-insensitive check of executable file extension for ".bat".
The obvious "fix" would have been to use strcasestr() instead of strstr(),
but that would leave the unlikely corner case of x.bat.exe producing a false-positive, for example. Use the proper functions for getting a file extension and performing a full case-insensitive string compare.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, January 28, 2019 15:58:00
src/sbbs3 xtrn.cpp 1.242 1.243
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv12690
Modified Files:
xtrn.cpp
Log Message:
Replace all occurences of unsafe strcat() calls with strncat() in sbbs_t::cmdstr() and cmdstr().
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, January 28, 2019 16:00:00
src/sbbs3 xtrn.cpp 1.243 1.244
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
xtrn.cpp
Log Message:
Fix missing param in last commit (for *nix builds only).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Monday, February 11, 2019 15:07:00
src/sbbs3 xtrn.cpp 1.244 1.245
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv7517
Modified Files:
xtrn.cpp
Log Message:
Patch from Mark Lewis (wk42):
i've made a few adjustments to xtrn.cpp for external.bat...
- remove unneeded redirection of dosemu output.
still uses same log file name and stops zero
byte file dosemu.log from being created in node
directories.
- fix faulty "keystroke" dosemu -I command. it
didn't actually do the "\r" but sent it as
characters to the command line.
- added code for SBBS specific lredirs to be
done more cleanly like dosemu's default
autoexec.bat. only deletes redir if it exists.
His editor also appears to have removed trailling white-space from this file, which is fine.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, May 05, 2019 03:58:11
src/sbbs3 xtrn.cpp 1.247 1.248
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv27921
Modified Files:
xtrn.cpp
Log Message:
Log a warning or error if an external program is attempted to be executed but can't because it's a DOS program and the current node doesn't support it.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Saturday, July 06, 2019 03:23:09
src/sbbs3 xtrn.cpp 1.248 1.249
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv24309
Modified Files:
xtrn.cpp
Log Message:
Pipe non-binary external program output through rputs() so we get charset translation "for free". Windows only for now.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sunday, August 25, 2019 22:53:59
src/sbbs3 xtrn.cpp 1.256 1.257
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv28552
Modified Files:
xtrn.cpp
Log Message:
In *nix builds, change the second almost identical log "Executing external"
log message to:
- only log the message if the "full command line" is different than the
command-line argument to the external() function. I'm pretty sure that was
the reason for the addition of this log message, for debugging Linux-DOSEMU
issues where the fullcmdline != cmdline.
- change from INFO to DEBUG log level
- change the message from "executing external: " to "Executing cmd-line: "
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Tuesday, March 24, 2020 17:38:06
src/sbbs3 xtrn.cpp 1.257 1.258
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv18464
Modified Files:
xtrn.cpp
Log Message:
Add missing environment variables in *nix builds when spawning native programs: YEAR, MONTH, MONTHNAME, WEEKDAY, DAY
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Saturday, March 28, 2020 16:30:44
src/sbbs3 xtrn.cpp 1.258 1.259
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv27971
Modified Files:
xtrn.cpp
Log Message:
%s is also used for the startup directory
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net