...
Code Block | ||||
---|---|---|---|---|
| ||||
/* Compile using gcc4.3.3 */
void foo() {
/* Use asm code to retrieve i
* implicitly from caller
* and transfer it to a less privileged file. */
}
...
/* Caller */
foo(i); /* i is fed from user input. */
|
Compliant Solution (Information Outflow)
...