[PATCH] Replace vsprintf with vsnprintf in ext2fs/msg.c

2022-11-05 Thread Flavio Cruz
--- ext2fs/msg.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ext2fs/msg.c b/ext2fs/msg.c index 83939b06..af636b7c 100644 --- a/ext2fs/msg.c +++ b/ext2fs/msg.c @@ -38,7 +38,8 @@ int printf (const char *fmt, ...) return done; } -static char error_buf[1024]; +#

[PATCH] Remove unused mig type definitions in gnumach

2022-11-05 Thread Flavio Cruz
* include/mach/mach_types.defs: host_basic_info_data_t, host_sched_info_data_t, host_load_info_data_t, processor_basic_info_data_t, processor_set_basic_info_data_t, processor_set_sched_info_data_t, hread_basic_info_data_t, thread_sched_info_data_t, task_basic_info_data_t, task_eve

Re: [PATCH] Add support to define structures in mig.

2022-11-05 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le ven. 04 nov. 2022 01:29:37 -0400, a ecrit: > Basic syntax is presented below and allows users to define > nested structured types by using simpler or structure types as > members. Mig will use the C padding and alignment rules to produce > the same size as the corr

Re: [PATCH] libps: Fix memory leak

2022-11-05 Thread Samuel Thibault
Applied, thanks! Richard Braun, le sam. 05 nov. 2022 15:15:05 +0100, a ecrit: > --- > libps/procstat.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libps/procstat.c b/libps/procstat.c > index d0423410..131d3a4b 100644 > --- a/libps/procstat.c > +++ b/libps/procstat.c > @@ -1097,6 +10

[PATCH] libps: Fix memory leak

2022-11-05 Thread Richard Braun
--- libps/procstat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libps/procstat.c b/libps/procstat.c index d0423410..131d3a4b 100644 --- a/libps/procstat.c +++ b/libps/procstat.c @@ -1097,6 +1097,7 @@ _proc_stat_free (ps) 0, &ps->task_events_info_buf, char); MFREEMEM (PSTAT_