You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stanley Gambarin (JIRA)" <ji...@apache.org> on 2009/03/27 02:20:50 UTC
[jira] Created: (HARMONY-6131) [classlib/luni] check for invalid
socket before I/O operations
[classlib/luni] check for invalid socket before I/O operations
--------------------------------------------------------------
Key: HARMONY-6131
URL: https://issues.apache.org/jira/browse/HARMONY-6131
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Stanley Gambarin
new socket I/O code does not check before read/write operations for invalid sockets (it used to).
This may cause a crash if we are trying to write to a closed/reset socket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-6131) [classlib][luni] check for invalid
socket before I/O operations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison closed HARMONY-6131.
--------------------------------
> [classlib][luni] check for invalid socket before I/O operations
> ---------------------------------------------------------------
>
> Key: HARMONY-6131
> URL: https://issues.apache.org/jira/browse/HARMONY-6131
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Stanley Gambarin
> Assignee: Tim Ellison
> Attachments: OSNetworkSystem.c.patch
>
>
> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
> This may cause a crash if we are trying to write to a closed/reset socket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-6131) [classlib/luni] check for invalid
socket before I/O operations
Posted by "Stanley Gambarin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stanley Gambarin updated HARMONY-6131:
--------------------------------------
Attachment: OSNetworkSystem.c.patch
patch to add check for invalid socket on read/write operations
> [classlib/luni] check for invalid socket before I/O operations
> --------------------------------------------------------------
>
> Key: HARMONY-6131
> URL: https://issues.apache.org/jira/browse/HARMONY-6131
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Stanley Gambarin
> Attachments: OSNetworkSystem.c.patch
>
>
> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
> This may cause a crash if we are trying to write to a closed/reset socket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-6131) [classlib/luni] check for invalid
socket before I/O operations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-6131.
----------------------------------
Resolution: Fixed
Thanks Stanley.
Patch applied to LUNI module at repo revision r759949.
Please check it was applied as you expected.
> [classlib/luni] check for invalid socket before I/O operations
> --------------------------------------------------------------
>
> Key: HARMONY-6131
> URL: https://issues.apache.org/jira/browse/HARMONY-6131
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Stanley Gambarin
> Assignee: Tim Ellison
> Attachments: OSNetworkSystem.c.patch
>
>
> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
> This may cause a crash if we are trying to write to a closed/reset socket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-6131) [classlib][luni] check for invalid
socket before I/O operations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison updated HARMONY-6131:
---------------------------------
Summary: [classlib][luni] check for invalid socket before I/O operations (was: [classlib/luni] check for invalid socket before I/O operations)
> [classlib][luni] check for invalid socket before I/O operations
> ---------------------------------------------------------------
>
> Key: HARMONY-6131
> URL: https://issues.apache.org/jira/browse/HARMONY-6131
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Stanley Gambarin
> Assignee: Tim Ellison
> Attachments: OSNetworkSystem.c.patch
>
>
> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
> This may cause a crash if we are trying to write to a closed/reset socket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [classlib/luni] check for invalid socket before I/O operations
(HARMONY-6131)
Posted by Oliver Deakin <ol...@googlemail.com>.
+1
Checked on Linux - I don't see any negative effects, and it fixes the
RegistryTest crash and ConnectionTest EOFException failures for me.
Regards,
Oliver
Sean Qiu wrote:
> +1
>
> 2009/3/30 Tim Ellison <t....@gmail.com>:
>
>> I would like to propose that this is fixed for M9, since it is part of
>> the remaining blocker for declaring the milestone.
>>
>> Any committers support applying this patch?
>>
>> Thanks,
>> Tim
>>
>> Tim Ellison (JIRA) wrote:
>>
>>> Tim Ellison reassigned HARMONY-6131:
>>> ------------------------------------
>>>
>>> Assignee: Tim Ellison
>>>
>>>
>>>> [classlib/luni] check for invalid socket before I/O operations
>>>> --------------------------------------------------------------
>>>>
>>>> Key: HARMONY-6131
>>>> URL: https://issues.apache.org/jira/browse/HARMONY-6131
>>>> Project: Harmony
>>>> Issue Type: Bug
>>>> Components: Classlib
>>>> Reporter: Stanley Gambarin
>>>> Assignee: Tim Ellison
>>>> Attachments: OSNetworkSystem.c.patch
>>>>
>>>>
>>>> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
>>>> This may cause a crash if we are trying to write to a closed/reset socket.
>>>>
>
>
>
>
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: [classlib/luni] check for invalid socket before I/O operations
(HARMONY-6131)
Posted by Sean Qiu <se...@gmail.com>.
+1
2009/3/30 Tim Ellison <t....@gmail.com>:
> I would like to propose that this is fixed for M9, since it is part of
> the remaining blocker for declaring the milestone.
>
> Any committers support applying this patch?
>
> Thanks,
> Tim
>
> Tim Ellison (JIRA) wrote:
>> Tim Ellison reassigned HARMONY-6131:
>> ------------------------------------
>>
>> Assignee: Tim Ellison
>>
>>> [classlib/luni] check for invalid socket before I/O operations
>>> --------------------------------------------------------------
>>>
>>> Key: HARMONY-6131
>>> URL: https://issues.apache.org/jira/browse/HARMONY-6131
>>> Project: Harmony
>>> Issue Type: Bug
>>> Components: Classlib
>>> Reporter: Stanley Gambarin
>>> Assignee: Tim Ellison
>>> Attachments: OSNetworkSystem.c.patch
>>>
>>>
>>> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
>>> This may cause a crash if we are trying to write to a closed/reset socket.
>>
>
--
Best Regards
Sean, Xiao Xia Qiu
[classlib/luni] check for invalid socket before I/O operations (HARMONY-6131)
Posted by Tim Ellison <t....@gmail.com>.
I would like to propose that this is fixed for M9, since it is part of
the remaining blocker for declaring the milestone.
Any committers support applying this patch?
Thanks,
Tim
Tim Ellison (JIRA) wrote:
> Tim Ellison reassigned HARMONY-6131:
> ------------------------------------
>
> Assignee: Tim Ellison
>
>> [classlib/luni] check for invalid socket before I/O operations
>> --------------------------------------------------------------
>>
>> Key: HARMONY-6131
>> URL: https://issues.apache.org/jira/browse/HARMONY-6131
>> Project: Harmony
>> Issue Type: Bug
>> Components: Classlib
>> Reporter: Stanley Gambarin
>> Assignee: Tim Ellison
>> Attachments: OSNetworkSystem.c.patch
>>
>>
>> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
>> This may cause a crash if we are trying to write to a closed/reset socket.
>
[jira] Assigned: (HARMONY-6131) [classlib/luni] check for invalid
socket before I/O operations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison reassigned HARMONY-6131:
------------------------------------
Assignee: Tim Ellison
> [classlib/luni] check for invalid socket before I/O operations
> --------------------------------------------------------------
>
> Key: HARMONY-6131
> URL: https://issues.apache.org/jira/browse/HARMONY-6131
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Stanley Gambarin
> Assignee: Tim Ellison
> Attachments: OSNetworkSystem.c.patch
>
>
> new socket I/O code does not check before read/write operations for invalid sockets (it used to).
> This may cause a crash if we are trying to write to a closed/reset socket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.