dpathakj / junixsocket

Automatically exported from code.google.com/p/junixsocket
0 stars 0 forks source link

Potential memory corruption in native read/write functions #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please, test offset+length against array bounds in read/write native functions 
to avoid memory corruption in presence of wrong arguments values.

Patch provided in attachment.

Best regards,
Eric.

Original issue reported on code.google.com by edy...@laposte.net on 3 Nov 2011 at 3:50

Attachments:

GoogleCodeExporter commented 9 years ago
Unit Test added.

Original comment by edy...@laposte.net on 3 Nov 2011 at 4:07

Attachments:

GoogleCodeExporter commented 9 years ago
Fixing with junixsocket 2.0.1, see https://github.com/kohlschuetter/junixsocket
Thanks, Eric!

Original comment by ckkohl79 on 29 Nov 2014 at 8:40