Integer Overflow of Allocation Size at lemon.c:4778 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
State_arrayof (/home/sate/Testcases/c/cve/wireshark-1.2.0/tools/lemon/lemon.c)![]() | ||||||
![]() | ||||||
4772 | struct state **State_arrayof(void) | |||||
4773 | { | |||||
4774 | struct state **array; | |||||
4775 | int i,size; | |||||
4776 | if( x3a==0 ) return 0; | |||||
4777 | size = x3a->count; | |||||
4778 | array = (struct state **)malloc( sizeof(struct state *)*size );
| |||||
![]() |