Bug#924792: pidof: unsanitized user input makes pidof crash

KatolaZ katolaz at freaknet.org
Tue Mar 19 22:28:18 GMT 2019

On Tue, Mar 19, 2019 at 05:54:56PM -0300, Jesse Smith wrote:
> I am certainly open to replacing the "format" flag (-f) with an
> alternative field separator flag. It has a nice Unixy feel to it and
> requires less code.
> Personally, I think using -d (or --delimiter) might be the only change
> I'd want to make to the patch KatolaZ provided. Partly because pidof
> already has a lower-case "-s" flag and I want to avoid confusion, and
> because tools like cut also use "-d".
> If there are no objections, I'll upstream KatolaZ's patch and remove the
> "-f" flag.

No objections on my side.  '-d' makes sense to me as well.

@Jesse: I feel I owe you an apology. I read again my first post in
this thread, and I noticed that it might have sounded harsh, or worse,
patronising. Sorry: that was never my intention.  I hope you can
accept my apologies.



[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20190319/42563108/attachment.sig>

More information about the Debian-init-diversity mailing list