[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SECURITY PROBLEM: autofs [all versions]



Christopher W. Curtis wrote:
> However:
> 
> int main()
> {	FILE *foo = popen( "non-executable.file", "r+ );
> 	fprintf( foo, "hmm" );
> }

Hint: you must #include <stdio.h> to use popen
Hint: '"r+' is not valid C
Hint: popen returns NULL if it fails.

-- 
see shy jo



Reply to: