相关代码 |
|
JSP 1.0 Buffer Overflow Demo JSP 1.0 Buffer Overflow Demo print loop = 5 (wont overflow) print loop = 15 (wont overflow) print loop = 25 (will overflow) String loop = request.getParameter("loop"); int loop_times = 5; if(loop != null) loop_times = Integer.parseInt(loop); for(int i=0; i < loop_times; i++){ out.print( i + " ==============================="); } %>
相关资源 |
|