Commit cdbb4b8
authored
Fix divide by zero crash loading LDB signature
If a byte compare subsignature specifies a 0-byte length then the
process may crash with a divide-by-zero exception while loading
the signature.
byte_length had validation for invalid characters, but nothing for a
zero value. Added validation for a zero value.1 parent c34dd0f commit cdbb4b8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments