Commit bcc6312
committed
Fix bug in
When an arbitrary file is scanned with the rule below it triggers the assertion at https://github.com/VirusTotal/yara/blob/v4.3.1/libyara/scan.c#L670
```
rule test {
strings:
$a = { 31[-][8-][-]30 }
condition:
$a
}
```yr_re_fast_exec causing assertion in _yr_scan_match_callback
1 parent 2653732 commit bcc6312
2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2291 | 2291 | | |
2292 | 2292 | | |
2293 | 2293 | | |
2294 | | - | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
2295 | 2297 | | |
2296 | 2298 | | |
2297 | | - | |
2298 | 2299 | | |
2299 | 2300 | | |
2300 | 2301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1601 | 1601 | | |
1602 | 1602 | | |
1603 | 1603 | | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
1604 | 1616 | | |
1605 | 1617 | | |
1606 | 1618 | | |
| |||
0 commit comments