Re: asprintf failure

2023-03-28 Thread Tomek CEDRO
On Wed, Mar 29, 2023 at 2:14 AM Bernd Walter wrote: > I think I should open up a ticket for FreeBSD to extend this part in the > manpage. > Sounds like a trap - I often just look into the FreeBSD manpages, since this > is what my desktop runs. greetings from a FBSD station to a fellow daemon :-)

Re: asprintf failure

2023-03-28 Thread Bernd Walter
On Tue, Mar 28, 2023 at 04:28:58PM -0400, Nathan Hartman wrote: > On Tue, Mar 28, 2023 at 3:43 PM Fotis Panagiotopoulos > wrote: > > > > Hello, > > Replying inline below... > > > I just noticed that there are some problems with the usage of asprintf() > > throughout the code base. > > This funct

Re: asprintf failure

2023-03-28 Thread Nathan Hartman
On Tue, Mar 28, 2023 at 3:43 PM Fotis Panagiotopoulos wrote: > > Hello, Replying inline below... > I just noticed that there are some problems with the usage of asprintf() > throughout the code base. > This function is not properly checked for failure, which can lead to nasty > crashes. > > I am

asprintf failure

2023-03-28 Thread Fotis Panagiotopoulos
Hello, I just noticed that there are some problems with the usage of asprintf() throughout the code base. This function is not properly checked for failure, which can lead to nasty crashes. I am checking here: https://linux.die.net/man/3/asprintf It states: > Return Value When successful, these