Hacker News new | past | comments | ask | show | jobs | submit login

Everyone calls it programmer error. But when you make the same error of copying arbitrary-sized inputs from attackers into a Java program, you do not enable that attacker to upload their own code into the JVM process and run it.



But doesn't the use of Java's JNI invalidate any security the JVM offers? As far as I know, any protections the JVM puts up are invalidated once you inject native code, which would potentially enable an attacker to potentially inject malicious code that hijacks the JVM. Then again, one could argue that the JNI is no longer a "Java" program.


Yes, when you write C code and attach it to JVM processes, that puts the JVM process at risk. More C code, more problems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: