[Pkg-nagios-devel] Bug#982847: Bug#982847: monitoring-plugins-standard: check_pgsql check of database name is too strict

Florian Lohoff f at zz.de
Mon Feb 15 15:28:14 GMT 2021


On Mon, Feb 15, 2021 at 03:23:53PM +0100, Jan Wagner wrote:
> forwarded 982847 https://github.com/monitoring-plugins/monitoring-plugins/issues/1660
> forwarded 982847 https://github.com/monitoring-plugins/monitoring-plugins/issues/1661
> 
> Hi Florian,
> > -                       break;
> > +                       snprintf(dbName, NAMEDATALEN, "%s", optarg);
> >                 case 'l':     /* login name */
> >                         if (!is_pg_logname (optarg))
> >                                 usage2 (_("User name is not valid"), optarg);
> 
> same here.

No - good catch. 

Flo
-- 
Florian Lohoff                                                     f at zz.de
"Autoritaetsduselei ist der groesste Feind der Wahrheit" - Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20210215/84c19a0a/attachment.sig>


More information about the Pkg-nagios-devel mailing list