Bug 1485461

Summary: freshclam warning about null byte
Product: [Fedora] Fedora Reporter: Martin Fahrendorf <martin>
Component: clamavAssignee: Sergio Basto <sergio>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 26CC: gbcox, janfrode, j, mstevens, nathanael, nb, ondrejj, orion, pwouters, redhat-bugzilla, sergio, steve
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-25 19:54:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Fahrendorf 2017-08-25 19:38:53 UTC
Description of problem:
after upgrade from fedora 25 to 26 I got the warning
/usr/sbin/clamav-notify-servers: Zeile 72: Warnung: command substitution: ignored null byte in input
everytime freshclam-sleep is called (from package clamav-update).

Version-Release number of selected component (if applicable):
0.99.2

How reproducible:
always if clamav-update is called via cron

Steps to Reproduce:
1.
2.
3.

Actual results:
warnings - but update is called without any problem

Expected results:
no warning

Additional info:
according to web search this is due to changes in bash interpreter for null byte characters in scripts. Thsi is done in line 72 by sending "zRELOAD\0" to the clamav server clamd. using "nRELOAD\n" does the same without warning.

Comment 1 Sergio Basto 2017-08-25 19:54:33 UTC

*** This bug has been marked as a duplicate of bug 1473642 ***