in reply to A Quest for Taint
If you can pass control to the other script which is in taint mode, that might be an idea, but it's going to be very slow.
What I try to do in a situation like this is I group all of the scalars that should normally be tainted close to the top of the program and I attempt (if possible), to "untaint" them there. Often, if taint checks are enabled, untainting is scattered throughout the program. If taint checks are not enabled, it's much tougher to easily determine where you want to untaint data. By grouping this data -- and liberally commenting so others understand why it's being done -- you can create a "red flag" for programmers that follow.
I, for one, would KILL to be able to enable taint checking "on the fly," but I suspect that it would not be a trivial task to accomplish.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Ovid) Re: A Quest for Taint
by mirod (Canon) on Dec 12, 2000 at 23:55 UTC | |
|
Re: (Ovid) Re: A Quest for Taint
by Blue (Hermit) on Dec 13, 2000 at 18:41 UTC | |
by coreolyn (Parson) on Dec 13, 2000 at 23:33 UTC | |
by chipmunk (Parson) on Dec 13, 2000 at 10:49 UTC | |
by coreolyn (Parson) on Dec 13, 2000 at 11:16 UTC | |
by chipmunk (Parson) on Dec 14, 2000 at 01:31 UTC | |
|