inetutils on codeberg (was: Re: fix a use-after-free bug)

2025-07-09 Thread Simon Josefsson via Bug reports for the GNU Internet utilities
Hi I have done a couple of pull requests via codeberg now, and this works and I can't see any reason to not accept contributions via codeberg (under all normal GNU policies related to licensing and copyrights). This doesn't affect the savannah workflow at all, as long as someone who cares about t

Re: fix a use-after-free bug

2025-07-04 Thread Collin Funk
Hi Simon, Thanks for checking the patch. And thanks again Bruno for the fix. Simon Josefsson writes: > I dislike merge commits, and I don't know how codeberg will behave if I > merge this in the web browser, and I also don't know if PGP signed git > commits will behave on codeberg (which I use)

Re: fix a use-after-free bug

2025-07-02 Thread Simon Josefsson via Bug reports for the GNU Internet utilities
I have merged this pull request on codeberg, and then manually pushed it back to master on savannah. Sorry for the delay, and thanks for the fix Bruno! /Simon signature.asc Description: PGP signature

Re: fix a use-after-free bug

2025-07-02 Thread Simon Josefsson via Bug reports for the GNU Internet utilities
Collin Funk writes: > Hi Bruno, > > Bruno Haible via Bug reports for the GNU Internet utilities > writes: > >> gcc 15 reports this warning from -Wanalyzer-use-after-free: >> ../../talkd/table.c:65:30: warning: use after 'free' of 'ptr' [CWE-416] >> >> gcc is right here: Accessing ptr->next after

Re: fix a use-after-free bug

2025-05-04 Thread Collin Funk
Hi Bruno, Bruno Haible via Bug reports for the GNU Internet utilities writes: > gcc 15 reports this warning from -Wanalyzer-use-after-free: > ../../talkd/table.c:65:30: warning: use after 'free' of 'ptr' [CWE-416] > > gcc is right here: Accessing ptr->next after calling free (ptr) > (inside tabl

fix a use-after-free bug

2025-04-26 Thread Bruno Haible via Bug reports for the GNU Internet utilities
Hi, gcc 15 reports this warning from -Wanalyzer-use-after-free: ../../talkd/table.c:65:30: warning: use after 'free' of 'ptr' [CWE-416] gcc is right here: Accessing ptr->next after calling free (ptr) (inside table_delete (ptr)) is invalid. Find attached a fix. How I found this: 1) Install gcc 1