[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Tla spork
From: |
James Blackwell |
Subject: |
Re: [Gnu-arch-users] Re: Tla spork |
Date: |
Tue, 24 Aug 2004 16:43:16 -0400 |
Tom Lord wrote:
> /usr/.../bin/tla-wrapped:
>
> #!/bin/sh
>
> tla --hat "$ARCH_HAT" "$@"
>
> ?
>
> (I generally don't want that kind of environment-variable sensitivity
> in tla itself because, while, sure, in some cases its handy, in other
> cases it is an easy source of bugs, flakiness, exploits, etc...)
I imagine it closer to the following (I'm playing loose with the code
here):
my_hat = 0
if ( valid_hat(getenv("ARCH_HAT")))
my_hat = get_env("ARCH_HAT")
if (! my_hat)
my_hat = get_arch_hat()
if (! my_hat)
my_hat = passed_hat
if (! my_hat)
panic("You're not wearing any hats!")
bugs:
I don't think we'd have a problem here. Sure, if tla didn't
provide library support to look up the my-idish stuff, or if tla
was not using it consistantly, I'd agree. But tla does use the library
routines consistantly, so we don't need to worry about either bugs or
flakiness (a subset of bugs)
exploits:
I think that we're safe here because of the lack of statically defined
buffers. Somebody thought ahead of that problem and wrote hackerlab.
--
James Blackwell Try something fun: For the next 24 hours, give
Smile more! each person you meet a compliment!
GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D 247A 8A55 DA73 0635 7400
- Re: [Gnu-arch-users] Tla spork, (continued)
- Re: [Gnu-arch-users] Tla spork, Tom Lord, 2004/08/21
- Re: [Gnu-arch-users] Tla spork, Matthew Dempsky, 2004/08/23
- Re: [Gnu-arch-users] Tla spork, Miles Bader, 2004/08/23
- Re: [Gnu-arch-users] Tla spork, Tom Lord, 2004/08/24
- [Gnu-arch-users] Re: Tla spork, Miles Bader, 2004/08/24
- [Gnu-arch-users] Re: Tla spork, Matthew Dempsky, 2004/08/24
- [Gnu-arch-users] Re: Tla spork, Tom Lord, 2004/08/24
- [Gnu-arch-users] Re: Tla spork, Matthew Dempsky, 2004/08/24
- Re: [Gnu-arch-users] Re: Tla spork, James Blackwell, 2004/08/24
- Re: [Gnu-arch-users] Re: Tla spork, Tom Lord, 2004/08/24
- Re: [Gnu-arch-users] Re: Tla spork,
James Blackwell <=
- Re: [Gnu-arch-users] Re: Tla spork, Tom Lord, 2004/08/24
- Re: [Gnu-arch-users] Re: Tla spork, James Blackwell, 2004/08/25
- Re: [Gnu-arch-users] Re: Tla spork, tomas, 2004/08/26
- Re: [Gnu-arch-users] Re: Tla spork, Zenaan Harkness, 2004/08/26
- [Gnu-arch-users] Re: Tla spork, Stefan Monnier, 2004/08/26
- Re: [Gnu-arch-users] Re: Tla spork, Zenaan Harkness, 2004/08/26
- [Gnu-arch-users] Re: Tla spork, Miles Bader, 2004/08/26
- Re: [Gnu-arch-users] Re: Tla spork, Mikhael Goikhman, 2004/08/26
- [Gnu-arch-users] Re: Tla spork, Miles Bader, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Zenaan Harkness, 2004/08/27