owasp - How are web applications vulnerable to Buffer Overflow security issue? -


the buffer overflow issue in java have chance happen because of issues in jvm.

apart developers code have chances of being vulnerable buffer overflow ? esp in custom built java/nee based web applications ?

if* (or libraries use) not use jni (native) code in java application , if jvm functions bug free (there have been bugs in past media parsing) don't need fear traditional buffer overflows. true "managed code" runtimes , 1 of greatest advantages.

however can still overflow data structures. not lead severe heap or stack corruptions might produce deny of service, information disclosure or logical problems.

the example simple:

void test() {     char[] c = new char[10];     c[11] = '1'; // or 10 }  

if try method, throw arrayindexoutofbounds exception , not write memory location. in fact 1 of major motivators exceptions, if read java language spec.

* this big if ....


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -