-----BEGIN PGP SIGNED MESSAGE----- > >This patch might actually be more security concious: > >--- fileio.c.orig 2004-01-06 17:19:43.000000000 -0800 >+++ fileio.c 2004-01-06 17:19:12.000000000 -0800 >@@ -199,6 +199,7 @@ >{ >const char *src = *start, *var; >char variable[1024]; >+ char variable2[1024]; >char *dest = variable; > >/* copy until we hit the end or until we hit a non-variable character >*/ >@@ -215,7 +216,8 @@ > >/* return the actual variable value */ >var = getenv(variable); >- return (var) ? var : ""; >+ snprintf(variable2, 1024, "$%s", variable); >+ return (var) ? var : variable2; >} >
Thanks, I'll do a test compile with the changes and see if it works. (Didn't get much time to debug tonight as I spent the night on the phone with HP trying to get my DVD writer replaced) +------------------+--------------------------+---------------+ | Robert Alan Byer | [EMAIL PROTECTED] | ICQ #65926579 | +------------------+--------------------------+---------------+ | Send an E-mail request to obtain a copy of my PGP key. | +-------------------------------------------------------------+ | "It is by caffeine alone I set my mind in motion. It is by | | cans of cola the thoughts aquire speed, the hands acquire | | shakes, the shakes become a warning. It is by caffeine | | alone I set my mind in motion." | +-------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQEVAwUBP/t1LKVSqzlBVJbBAQGGkggAt45emHfFppY7B4pHCoy8R7edgtyGfIVu 1GYLERteVFECwtOheZlVHVJnZsNmlosD9i+j4V5g4B9zytDswPC5h3Ot0Fw/zUVM QHfjbui/3CLvEUm+SgNzzZWRoOAvUH4hZSaPD6WOzxJY3fog5s/CyG7AKM7yRz70 XD2rfJaVUZ9fn8DzkEeN2Po8XnTTRdWCOsMbN3bOd/Ol5b86vdUAoumg1AnOKPFb gNLNbieHCFaKzrgaOkddTzWwWbv7ecBtpAL7wcsC7D13mkWDj/IDVSiHzcNZoS7V qrz3BerpOGN8czOCX8p2FMc9L4Kxh8TLmg7Nkf0FhoYi65u5Bno9yA== =oe9j -----END PGP SIGNATURE----- _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame