Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-12-12 Thread Alan Bateman
On 11/12/2018 20:00, Sean Mullan wrote: These exceptions are generated from a very low level part of the native JDK Windows or Unix FileSystem implementations. That is a concern. The previous usages of this property were more focused and confined to smaller parts of the code resulting in

Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-12-11 Thread Sean Mullan
On 12/11/18 10:38 AM, Baesken, Matthias wrote: File paths are, in general, always something that demands extra scrutiny as it can be the source of security issues (privacy leaks, traversal attacks, etc). It's not just me that thinks that way, you can do a search on the Internet and find lots of

RE: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-12-11 Thread Baesken, Matthias
gt; -Original Message- > From: Sean Mullan > Sent: Donnerstag, 8. November 2018 20:36 > To: Baesken, Matthias ; Langer, Christoph > ; Alan Bateman ; > security-dev@openjdk.java.net; core-libs-...@openjdk.java.net > Subject: Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErr

Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-11-08 Thread Sean Mullan
e- From: Sean Mullan Sent: Freitag, 12. Oktober 2018 17:19 To: Langer, Christoph ; Baesken, Matthias ; Alan Bateman ; security-dev@openjdk.java.net; core-libs-...@openjdk.java.net Subject: Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path caus

RE: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-11-07 Thread Baesken, Matthias
the other places too ). Thanks, Matthias > -Original Message- > From: Sean Mullan > Sent: Freitag, 12. Oktober 2018 17:19 > To: Langer, Christoph ; Baesken, Matthias > ; Alan Bateman ; > security-dev@openjdk.java.net; core-libs-...@openjdk.java.net > Subject: Re: RFR

Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-10-12 Thread Sean Mullan
On 10/12/18 10:33 AM, Langer, Christoph wrote: Sean, what is your take on this? Sorry, I haven't had time to look at this in more detail yet. But, let's take a step back first. Can you or Matthias explain in more detail why this fix is necessary? What are the use cases and motivation? The

RE: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-10-12 Thread Langer, Christoph
the exception is thrown). > > > Best regards , > Matthias > > > > From: Alan Bateman > Sent: Freitag, 12. Oktober 2018 11:18 > To: Baesken, Matthias ; security- > d...@openjdk.java.net; core-libs-...@openjdk.java.net > Subject: Re: RFR: 8211752: JNU_T

RE: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-10-12 Thread Baesken, Matthias
ards , Matthias From: Alan Bateman Sent: Freitag, 12. Oktober 2018 11:18 To: Baesken, Matthias ; security-dev@openjdk.java.net; core-libs-...@openjdk.java.net Subject: Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

RE: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-10-12 Thread Lindenmaier, Goetz
:13 > To: security-dev@openjdk.java.net; core-libs-...@openjdk.java.net > Subject: [CAUTION] RE: RFR: 8211752: > JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions > with path causing the issue > > Ping ... any reviews / comments ? > > Should I add a ca

Re: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-10-12 Thread Alan Bateman
On 12/10/2018 09:12, Baesken, Matthias wrote: Ping …  any reviews / comments ? Should I add  a category  , for example    “ioExceptionsWithPath” to the java.security – file  to control  the enabling/disabling of the  enhanced exception ?   java.security # # Enhanced exception message

RE: RFR: 8211752: JNU_ThrowIOExceptionWithLastErrorAndPath - enhance some IOExceptions with path causing the issue

2018-10-12 Thread Baesken, Matthias
Ping ... any reviews / comments ? Should I add a category , for example"ioExceptionsWithPath" to the java.security - file to control the enabling/disabling of the enhanced exception ? java.security # # Enhanced exception message information ...