Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 209599] [PATCHES] FreeBSD fix for JDK-6244515 : Unsafe operations that access invalid memory are not handled gracefully - java/openjdk8 and java/openjdk7

4 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
May 20, 2016, 1:06:46 PM5/20/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

Andrew Smith <iamasmi...@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|[PATCHES] Related to |[PATCHES] FreeBSD fix for
|JDK-6934977 : |JDK-6244515 : Unsafe
|MappedByteBuffer.load can |operations that access
|SIGBUS/SIGSEGV if file is |invalid memory are not
|truncated java/openjdk8 and |handled gracefully -
|java/openjdk7 |java/openjdk8 and
| |java/openjdk7

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java...@freebsd.org"

bugzilla...@freebsd.org

unread,
May 20, 2016, 1:07:41 PM5/20/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #17 from Andrew Smith <iamasmi...@gmail.com> ---
Changed the title a lot I know but this bug is the closest.

bugzilla...@freebsd.org

unread,
May 24, 2016, 1:47:29 AM5/24/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #18 from ope...@getsnappy.com ---
+1
Good work tracking that down. I'm not a Freebsd committer, so I can't sponsor
these patches into the Freebsd ports tree. However, if you've already agreed
to, or are willing and capable of agreeing to Oracle's OCA, I'll sponsor
getting the patch into the bsd-port openjdk repository.

http://openjdk.java.net/contribute/

bugzilla...@freebsd.org

unread,
May 25, 2016, 3:43:21 AM5/25/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #19 from Andrew Smith <iamasmi...@gmail.com> ---
Awaiting feedback from my company on signing up to the OCA.

It may be that they would be happy for me to individually sign the OCA and
allow me to submit such patches as my own work but it needs to go by legal.

There's a bunch of stuff in the OCA about surrendering rights on patentable
material etc. which I'm sure only applies to the contributions made but it's
the sort of thing that brings out legal teams in a rash.

As far as these changes go, this it Hotspot and a body of GPL work so the
patches should be made available anyway and I would be happy for any other
committer to add this to either the bad-port upstream or to the patch set here.

bugzilla...@freebsd.org

unread,
Jun 12, 2016, 5:54:47 PM6/12/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #20 from commi...@freebsd.org ---
A commit references this bug:

Author: glewis
Date: Sun Jun 12 21:53:49 UTC 2016
New revision: 416825
URL: https://svnweb.freebsd.org/changeset/ports/416825

Log:
Handle unsafe operations that access invalid memory more gracefully

PR: 209599
Submitted by: Andrew Smith <iamasmi...@gmail.com>

Changes:
head/java/openjdk8/files/patch-hotspot-src-os_cpu-bsd_x86-vm-os_bsd_x86.cpp

bugzilla...@freebsd.org

unread,
Jun 13, 2016, 12:58:18 AM6/13/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #21 from commi...@freebsd.org ---
A commit references this bug:

Author: glewis
Date: Mon Jun 13 04:57:28 UTC 2016
New revision: 416828
URL: https://svnweb.freebsd.org/changeset/ports/416828

Log:
. Handle unsafe operations that access invalid memory more gracefully.
. Bump PORTREVISION for this fix.

PR: 209599
Submitted by: Andrew Smith <iamasmi...@gmail.com>

Changes:
head/java/openjdk7/Makefile
head/java/openjdk7/files/patch-hotspot-src-os_cpu-bsd_x86-vm-os_bsd_x86.cpp

bugzilla...@freebsd.org

unread,
Jun 13, 2016, 1:06:03 AM6/13/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

Greg Lewis <gle...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |gle...@FreeBSD.org

--- Comment #22 from Greg Lewis <gle...@FreeBSD.org> ---
Andrew, thanks for working on this and for the patches. I'd love to upstream
this, so please let me know if you have success with getting the OCA signed
either personally or at a company level.

bugzilla...@freebsd.org

unread,
Jun 13, 2016, 3:25:35 AM6/13/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #23 from Andrew Smith <iamasmi...@gmail.com> ---
I'll get a copy of the OCA signed personally I think as everybody here says
that's probably the best way to proceed.

bugzilla...@freebsd.org

unread,
Jun 13, 2016, 4:25:10 AM6/13/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #24 from Andrew Smith <iamasmi...@gmail.com> ---
Form emailed in, I'll update this PR when my name appears on the list.

bugzilla...@freebsd.org

unread,
Jun 22, 2016, 9:38:59 AM6/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

--- Comment #25 from Andrew Smith <iamasmi...@gmail.com> ---
My OCA has been processed and I now appear on the OCA web page as 'Andrew Smith
- OpenJDK' and am happy for you to sponsor these changes should you wish.

-Andy

bugzilla...@freebsd.org

unread,
Jul 26, 2016, 9:38:16 PM7/26/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209599

Greg Lewis <gle...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|New |Closed

--- Comment #26 from Greg Lewis <gle...@FreeBSD.org> ---
Pushed upstream, will be in the next generated patchset. Thanks Andrew!
0 new messages