Hi,

I'm using Klocwork and I found this possible bug.


Critical:ABR:Buffer overflow, array index of 'buf' may be outside the bounds. 
Array 'buf' of size 10240 declared at line 2427 may use index value -1. . Also 
there is one similar error on line 2433.
/projects_root/openssl-0.9.8j/apps/apps.c:2432
  apps.c:2431: l>=0 is true
  apps.c:2432: ...:=l-1
  apps.c:2427: The array 'buf' size is "10240".
  apps.c:2432: Array 'buf' may use the {-1} index.





Bye.

 Jean-Marc SEILLON 
jmseil...@yahoo.com



      
Hi,

I'm using Klocwork and I found this possible bug.


Critical:ABR:Buffer overflow, array index of 'buf' may be outside the bounds. Array 'buf' of size 10240 declared at line 2427 may use index value -1. . Also there is one similar error on line 2433.
/projects_root/openssl-0.9.8j/apps/apps.c:2432
  apps.c:2431: l>=0 is true
  apps.c:2432: ...:=l-1
  apps.c:2427: The array 'buf' size is "10240".
  apps.c:2432: Array 'buf' may use the {-1} index.





Bye.
 
Jean-Marc SEILLON
jmseil...@yahoo.com


Reply via email to