-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.4.9rc3, 4.0.0alpha7
-
Sprint 33, Sprint 34, Sprint 35
-
0.125
Steps to reproduce:
$ zabbix_agentd -t 'vfs.dir.size[/tmp,,,,11111!!!oneONE]'
Result:
vfs.dir.size[/tmp,,,,11111!!!oneONE] [u|35419229]
Expected:
vfs.dir.size[/tmp,,,,11111!!!oneONE] [m|ZBX_NOTSUPPORTED] [Invalid fifth parameter.]
This is due to atoi() function, strtol() should be use instead for better error handling.