Re: rpki-client, unify err() for out of memory situation

2021-03-02 Thread Theo de Raadt
Theo Buehler wrote: > On Tue, Mar 02, 2021 at 02:09:37PM +0100, Claudio Jeker wrote: > > This diff just brings all err(3) calls for out of memory situations to one > > form: err(1, NULL); > > It is not very helpful to tell if malloc, strdup or asprintf failed with no > > mem. Just one common

Re: rpki-client, unify err() for out of memory situation

2021-03-02 Thread Theo Buehler
On Tue, Mar 02, 2021 at 02:09:37PM +0100, Claudio Jeker wrote: > This diff just brings all err(3) calls for out of memory situations to one > form: err(1, NULL); > It is not very helpful to tell if malloc, strdup or asprintf failed with no > mem. Just one common idiom. > > OK? ok. The https

rpki-client, unify err() for out of memory situation

2021-03-02 Thread Claudio Jeker
This diff just brings all err(3) calls for out of memory situations to one form: err(1, NULL); It is not very helpful to tell if malloc, strdup or asprintf failed with no mem. Just one common idiom. OK? -- :wq Claudio Index: main.c