mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00
cwu_cid#_10429: fix cid# 10429
This commit is contained in:
parent
e11c67a1ef
commit
0e4995cec1
1 changed files with 3 additions and 0 deletions
|
@ -1137,6 +1137,9 @@ static int cvdinfo(const struct optstruct *opts)
|
|||
mprintf("File: %s\n", pt);
|
||||
|
||||
pt = strchr(cvd->time, '-');
|
||||
if(!pt){
|
||||
return -1;
|
||||
}
|
||||
*pt = ':';
|
||||
mprintf("Build time: %s\n", cvd->time);
|
||||
mprintf("Version: %u\n", cvd->version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue