Commit 9369791
committed
sigtool: Retry incompatible build hashes after a delay
A database archive whose MD5 starts with 00 cannot be verified by ClamAV 1.1 through 1.4. The existing immediate retry can rebuild the same archive when both attempts use the same timestamp.
Retry this specific compatibility failure up to ten times, waiting one second for the build timestamp to change between attempts. Preserve immediate failures for all other errors and keep the test limited to one sigtool invocation.
CLAM-30481 parent 9d0878e commit 9369791
2 files changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
4175 | 4176 | | |
4176 | 4177 | | |
4177 | 4178 | | |
| 4179 | + | |
4178 | 4180 | | |
4179 | 4181 | | |
4180 | 4182 | | |
| |||
4276 | 4278 | | |
4277 | 4279 | | |
4278 | 4280 | | |
4279 | | - | |
4280 | | - | |
4281 | | - | |
4282 | | - | |
4283 | | - | |
| 4281 | + | |
4284 | 4282 | | |
| 4283 | + | |
| 4284 | + | |
| 4285 | + | |
| 4286 | + | |
| 4287 | + | |
| 4288 | + | |
| 4289 | + | |
4285 | 4290 | | |
4286 | 4291 | | |
4287 | 4292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
0 commit comments