Re: [PATCH v5] commands/efi: dump all uefi runtime variables

2025-05-12 Thread Vladimir 'phcoder' Serbinenko
Le lun. 12 mai 2025, 10:37, khaalid cali a écrit : > From: khaalid > > > Vladimir 'phcoder' Serbinenko wrote: > > Please have a look at how to handle errors with realloc. You need to > keep a copy of old pointer in case you have to free it. Some places in our > codebase have similar memory leaks

[PATCH v5] commands/efi: dump all uefi runtime variables

2025-05-12 Thread khaalid cali
From: khaalid > Vladimir 'phcoder' Serbinenko wrote: > Please have a look at how to handle errors with realloc. You need to keep a > copy of old pointer in case you have to free it. Some places in our codebase > have similar memory leaks but it'> s not a reason to introduce more. Well, i follo