public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* argz_create
@ 2020-10-26 14:18 Jonny Grant
  2020-10-26 16:08 ` argz_create Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 9+ messages in thread
From: Jonny Grant @ 2020-10-26 14:18 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man

Hello

https://man7.org/linux/man-pages/man3/argz_create.3.html

BUGS         top
       Argz vectors without a terminating null byte may lead to Segmentation
       Faults.

Doesn't feel like this is a BUG to me. Is there a better section to add this? Almost all string handling functions may cause SEGV if passed a string without a null byte. Or even being passed a NULL ptr like strlen(NULL)..  I expect some of these may crash if passed NULL.


May I ask if there is a way to link error_t to the definition, should be in errno.h

Kind regards
Jonny

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-27 16:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-26 14:18 argz_create Jonny Grant
2020-10-26 16:08 ` argz_create Michael Kerrisk (man-pages)
2020-10-26 16:16   ` argz_create Michael Kerrisk (man-pages)
2020-10-26 21:12     ` argz_create Jonny Grant
2020-10-27 10:43       ` argz_create Jonny Grant
2020-10-27 13:01         ` argz_create Michael Kerrisk (man-pages)
2020-10-27 15:03           ` argz_create Jonny Grant
2020-10-27 15:47             ` argz_create Michael Kerrisk (man-pages)
2020-10-26 21:08   ` argz_create Jonny Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox