The Anonix Project (126, permasaged)

83 Name: #!/usr/bin/anonymous : 2008-05-20 15:12 ID:Heaven

>>74
mkdir had inline too.

mkfifo assumes mode_t is signed.
dectooct returns -1 if you give it a number that has the digits 8 or 9 in it. you store the int result of dectooct in the mode_t variable mode and then check to see if it's equal to -1 to determine whether the mode supplied by the user is valid:

if(mode == -1) {
fprintf(stderr, "%s: invalid mode\n", argv[0]);
return 1;
}

mode cannot ever be -1 if mode_t is unsigned (which it is on my system), so it continues on and tries to set the mode to 0177777.

also, mkfifo really needs to be indented.

84 Name: #!/usr/bin/anonymous : 2008-05-20 18:16 ID:Heaven

>>80

As an aside, we're thinking of adding a "long long long" to AnonCC which, if the machine supports it, will be at least 128 bits.

You show your ignorance once more. At this point I think you're just a troll and you're not serious.
First of all, there is nothing that says long long can't be 128 bits. Secondly, the hardware doesn't have to support qwords to have your type being 128 bits. You clearly know shit about anything, regarding anything.
Your whole dectoot function is broken, and its call with atoi() is also broken and shows how little you know about security.
Use this:
unsigned int foo;
if(sscanf(optarg, "%o", &foo) != 1) { /* error */ }

You silly faggots, another bug found in your code. I find these bugs just by looking at the code, without even loading it at my damn editor. You stupid faggots, you damn imbeciles.
No matter how many times I'll point out your errors you'll still persist that you somehow have a "project" with correct code and whatnot. I really hate you faggot.
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: