]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
proc_get_binpath(): return empty string instead of NULL
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 3 Nov 2021 15:11:33 +0000 (17:11 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 3 Nov 2021 15:30:10 +0000 (17:30 +0200)
commit02de91d740235f186321d7d3e11d09737daba43e
treec26cade480d3cf1ea60ea53eef8fd5ccc9078be6
parentc75c1d2df9b3839319f6b5e2fad0b757eebd9c55
proc_get_binpath(): return empty string instead of NULL

for strange case where queried process does not have text.

Reported by: Michael Butler <imb@protected-networks.net>
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
sys/kern/kern_proc.c