[HelenOS-devel] Fix leak kdio producer

2016-07-06 Thread Manuele Conti
Hi All, I found this bug in kio.c using cppcheck and I try to fix. Cheers, Manuele === modified file 'uspace/app/kio/kio.c' --- uspace/app/kio/kio.c 2014-08-16 00:02:04 + +++ uspace/app/kio/kio.c 2016-07-06 08:25:10 + @@ -78,13 +78,16 @@ */ static void producer(size_t length, wchar_t *da

[HelenOS-devel] Fix Null pointer passed as an argument to a 'nonnull' parameter

2016-07-06 Thread Manuele Conti
Hi All, I found a bug in uspace/lib/drv/generic/remote_nic.c and I try to fix it. Cheers, Manuele === modified file 'uspace/lib/drv/generic/remote_nic.c' --- uspace/lib/drv/generic/remote_nic.c 2015-08-23 12:50:23 + +++ uspace/lib/drv/generic/remote_nic.c 2016-07-06 10:44:23 + @@ -2338,10

[HelenOS-devel] Fix potential leak of memory

2016-07-06 Thread Manuele Conti
Hi All, I found a potential leak of memory pointed to by 'entry' in task.c and i fix it. Cheers, Manuele === modified file 'uspace/srv/ns/task.c' --- uspace/srv/ns/task.c 2015-09-30 17:47:41 + +++ uspace/srv/ns/task.c 2016-07-06 11:02:57 + @@ -241,8 +241,10 @@ return ENOMEM; hashed

[HelenOS-devel] Fix potential leak of memory

2016-07-06 Thread Manuele Conti
Hi All, I found a potential leak of memory pointed to by 'frag' in uspace/srv/net/inetsrv/reass.c and I fix it. Cheers, Manuele ___ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel

[HelenOS-devel] Missing patch about Fix potential leak of memory

2016-07-06 Thread Manuele Conti
Hi All, I forgot to attach my patch file in my previous mail. Cheers, Manuele === modified file 'uspace/srv/net/inetsrv/reass.c' --- uspace/srv/net/inetsrv/reass.c 2015-06-02 16:00:42 + +++ uspace/srv/net/inetsrv/reass.c 2016-07-06 11:40:20 + @@ -192,8 +192,10 @@ /* Clone the packet */