[HelenOS-devel] Add drawctx_stroke implementation

2020-08-01 Thread Manuele Conti
Hi All, I try to add by myself drawctx_stroke function. This stroke implementation strokes the shape using a thin line. You can find my code at link below: https://github.com/manux81/helenos-1/tree/add_draw_stroke

[HelenOS-devel] Fix memory leak in client_conn

2016-07-19 Thread Manuele Conti
Hi I found a memory leak in client_conn.c. My fix is attached. Cheers, Manuele === modified file 'uspace/srv/devman/client_conn.c' --- uspace/srv/devman/client_conn.c 2015-08-23 12:50:23 + +++ uspace/srv/devman/client_conn.c 2016-07-19 10:03:34 + @@ -631,6 +631,7 @@ link_t *link =

[HelenOS-devel] Remove double free pointer

2016-07-19 Thread Manuele Conti
Hi all, I found an attempt to free released memory. My fix is attached. Cheers, Manuele === modified file 'uspace/app/mkbd/main.c' --- uspace/app/mkbd/main.c 2015-08-23 12:50:23 + +++ uspace/app/mkbd/main.c 2016-07-19 09:54:39 + @@ -122,12 +122,7 @@ rc =

[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;

[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 vfs_ops bug

2016-04-22 Thread Manuele Conti
Hi All, I found a bug in vfs_open function. It is not correctly handled the returned NULL value by vfs_node_get. My patch is attached, let me know. Best regards, Manuele === modified file 'uspace/srv/vfs/vfs_ops.c' --- uspace/srv/vfs/vfs_ops.c 2015-10-06 19:01:36 + +++

[HelenOS-devel] Fix cmd_mkfile

2016-04-22 Thread Manuele Conti
Hi all, I found two possible bug in cmd_mkfile: - File not closed - Memory not deallocated Patch is attached. Let me know. Best regards, Manuele === modified file 'uspace/app/bdsh/cmds/modules/mkfile/mkfile.c' --- uspace/app/bdsh/cmds/modules/mkfile/mkfile.c 2016-03-29 19:36:43 + +++

[HelenOS-devel] memory leak vbd source

2016-04-04 Thread Manuele Conti
Hi all, I found a memory leak about vbds_get_disks_srv function in vbd.c source. My fix is attached. Best regards, Manuele === modified file 'uspace/srv/bd/vbd/vbd.c' --- uspace/srv/bd/vbd/vbd.c 2015-11-02 20:54:19 + +++ uspace/srv/bd/vbd/vbd.c 2016-03-30 12:33:52 + @@ -106,6 +106,7 @@

Re: [HelenOS-devel] Fix memory leak about mkmfs util

2016-04-01 Thread Manuele Conti
Hi all, this is my patch file without check null pointer before free call. Cheers, Manuele 2016-03-30 13:21 GMT+02:00 Manuele Conti <conti.manu...@gmail.com>: > Hi All, > I found a memory leak in a mkmfs util and I try to fix it. > > Regards, > Manuele > === modifie

Re: [HelenOS-devel] Fix memory leak about mkmfs util

2016-03-30 Thread Manuele Conti
Hi Jan, You right tomorrow I'll resend my patch with your suggest. Many thanks, Manuele > On 30 Mar 2016, at 15:54, Jan Vesely <jano.ves...@gmail.com> wrote: > >> On Wed, 2016-03-30 at 13:21 +0200, Manuele Conti wrote: >> Hi All, >> I found a memory leak in

[HelenOS-devel] Fix memory leak about mkmfs util

2016-03-30 Thread Manuele Conti
Hi All, I found a memory leak in a mkmfs util and I try to fix it. Regards, Manuele === modified file 'uspace/app/mkmfs/mkmfs.c' --- uspace/app/mkmfs/mkmfs.c 2015-08-22 05:12:30 + +++ uspace/app/mkmfs/mkmfs.c 2016-03-30 11:03:04 + @@ -639,8 +639,10 @@ ibmap_buf = malloc(ibmap_nblocks *

[HelenOS-devel] Remove leak in tcp_pdu_encode

2016-03-29 Thread Manuele Conti
Hi all, I found a memory leak in tcp_pdu_encode function and I try to fix it. Regards, Manuele === modified file 'uspace/srv/net/tcp/pdu.c' --- uspace/srv/net/tcp/pdu.c 2015-05-22 07:21:37 + +++ uspace/srv/net/tcp/pdu.c 2016-03-29 10:06:56 + @@ -333,8 +333,10 @@ text_size =

[HelenOS-devel] (no subject)

2016-03-29 Thread Manuele Conti
Hi all, I create a patch to remove a memory leak when tcp_pdu_create procedure fails. My patch solve this problem but I think that best way to solve it is call tcp_pdu_delete, let me know. Regards, Manuele === modified file 'uspace/srv/net/tcp/pdu.c' --- uspace/srv/net/tcp/pdu.c 2015-05-22

[HelenOS-devel] Duplicate include header

2016-03-29 Thread Manuele Conti
Hi all, I write a patch to remove duplicate include header. This is not a bug but only a "cosmetic" changes. Best regards, Manuele === modified file 'kernel/arch/amd64/src/interrupt.c' --- kernel/arch/amd64/src/interrupt.c 2014-10-09 15:03:55 + +++ kernel/arch/amd64/src/interrupt.c 2016-03-15

[HelenOS-devel] Fix a memory leak in remote_ahci_get_sata_device_name

2016-03-19 Thread Manuele Conti
Hi all, I found a missing check about malloc fault and memory not deallocated. Regards, Manuele === modified file 'uspace/lib/drv/generic/remote_ahci.c' --- uspace/lib/drv/generic/remote_ahci.c 2015-08-23 12:50:23 + +++ uspace/lib/drv/generic/remote_ahci.c 2016-03-16 13:06:29 + @@ -221,7

[HelenOS-devel] memory leak in driver.c

2016-03-16 Thread Manuele Conti
Hi all, I found a memory leak in driver.c. I'm using a software tool to catch, and I already found some errors like this. Can I send a mail for each? Regards, Manuele === modified file 'uspace/lib/drv/generic/driver.c' --- uspace/lib/drv/generic/driver.c 2015-09-30 17:47:41 + +++

[HelenOS-devel] leak in gpt source

2016-03-15 Thread Manuele Conti
Hi all, I found a leak in gpt.c source and I try to fix it. See my attached file. Regards, Manuele === modified file 'uspace/lib/label/src/gpt.c' --- uspace/lib/label/src/gpt.c 2015-11-04 18:39:51 + +++ uspace/lib/label/src/gpt.c 2016-03-15 12:50:21 + @@ -823,8 +823,10 @@ b0 =