Hello, For information, the flurry of fixes in the hurd and glibc repository were triggered by a static analysis by the coverity tool. Thanks Flávio for his cross-hurd repository that made that very easy to set up :)
I only triaged and fixed the very obvious pieces, there are quite a few reports which should be looked at carefully, most probably quite a few of them are false positives because the code flow is tricky, but the scenario proposed by coverity should be closely looked at to make sure we do have the code that prevents them. Samuel Samuel Thibault, le lun. 02 janv. 2023 11:09:31 +0100, a ecrit: > Samuel Thibault (7): > htl: Check error returned by __getrlimit > hurd _S_msg_add_auth: Initialize new arrays to 0 > hurd hurdstartup: Initialize remaining fields of hurd_startup_data > htl: Drop duplicate check in __pthread_stack_alloc > hurd: Make dl-sysdep __sbrk check __vm_allocate call > hurd fcntl: Make LOCKED macro more robust > hurd getcwd: Fix memory leak on error