...
Code Block |
---|
signed long sl1, sl2, result; if (sl2 == 0) { /* handle error condition */ } result = sl1 % sl2; |
Priority: P4 Level:
...
L3
Divide-by-zero errors can lead to abnormal program termination and denial-of-service attacks.
...
...
Code Block |
---|
signed long sl1, sl2, result; if (sl2 == 0) { /* handle error condition */ } result = sl1 % sl2; |
...
Divide-by-zero errors can lead to abnormal program termination and denial-of-service attacks.
...