Commit Graph

26 Commits

Author SHA1 Message Date
kurt
10c96fb157 Security fix for CVE-2007-0243:
Buffer overflow allows applets to gain privileges via a GIF image with a
block with a 0 width field, which triggers memory corruption and possible
execution of arbitrary code.
2007-01-28 04:45:04 +00:00
steven
b6d439743e use BASE_PKGPATH instead of homegrown variable, no bumps needed 2006-12-14 09:07:55 +00:00
steven
4db7fc3254 take flavors into account in @pkgpath 2006-11-24 21:35:29 +00:00
kurt
aa6ff6836d new MULTI_PACKAGES 2006-11-22 14:58:03 +00:00
steven
87a90c296d USE_X11 2006-11-11 21:04:27 +00:00
kurt
7df1fb7f89 Back-port some jdk/1.5 changes:
- use system libz instead of internal one. internal libz conflicts with
system libz, for example apps using JNI & libz will fail (OOo).
- enable parallel hotspot compiles on mp systems (one per cpu). no pthreads
involved so its safe to do here.
- socket option corrections. may help Active MQ work.
2006-10-31 19:48:12 +00:00
sturm
6e3e04ec3b switch to fedora_base and adapt systrace.policy files accordingly 2006-10-19 09:39:58 +00:00
espie
057dd9afe4 new libspecs 2006-08-01 22:55:52 +00:00
kurt
225683f4ff - don't mmap on top of malloc'ed memory. this fixes a large memory leak
while creating/destroying threads.
- add missing pthread_attr_destroy while creating threads. closes a
small memory leak.

Memory leaking problems reported by Carsten Raskgaard and also
David SH Rosenthal from the LOCKSS project.
2006-03-16 16:09:01 +00:00
david
9e2fccfe54 typo in DESCR; bump PKGNAME; ok kurt@ 2006-02-16 05:46:21 +00:00
kurt
f4b38ea4b0 remove HAVE_DPS from MAKE_ENV. It appears that the build was ignoring it
since it wasn't in WANTLIB, but bump pkg anyway.
2006-02-01 01:06:40 +00:00
kurt
75b6e7ae64 don't try to enable kern.emul.linux sysctl for FLAVOR=native_bootstrap.
braino from last commit. noticed by Matthias Killian.
2006-01-19 22:02:48 +00:00
kurt
7a27922713 - recent w^x changes combined with random malloc/mmap exposed a previously
undiscovered bug in the SignatureHandlerLibrary. Code generated at runtime
was put into malloc()'ed memory and later attempted to execute it without
first making it executable with mprotect(). Debugging suggestions and help
from tom@, weingart@, marc@, millert@. Thx!
- make sure linux emulation is on for the build phase. needed if you reboot
after extracting.

okay tom@
2006-01-18 15:08:16 +00:00
millert
be2c89c95d No need to protect the type-correct prototypes with #ifdef _LP64
Fixes problems caused by types changes.  OK kurt@
2006-01-17 14:28:19 +00:00
kurt
bf8f82ebbc Disable Junk malloc option for java. java mprotects portions of the thread
stack. When forking, the child process deallocates the threads stacks it
inheritated from the parent. The junk malloc option then attempts to write
to the deallocated memory and segfaults because its not all writable. The
child proc stays in a SIGSEGV loop when this happens.  okay ian@
2006-01-02 03:48:40 +00:00
espie
0031945c6e Fix a buglet in bsd.port.mk where the PSEUDO_FLAVORS get encoded into
the FULLPKGPATH, thus providing changes to packing-lists which shouldn't
happen, and making update more difficult.

Accordingly, bump all pkgnames with PSEUDO_FLAVORS, and provide an
update @pkgpath for the bug for most of them (left out the ones with 3
or 4 pseudo flavors for space constraints...)
2005-09-16 09:51:25 +00:00
kurt
31adc626ed - Ensure that when files are extracted that their fully resolved path lies
in or below the current working directory.  Fixes a security problem with
jar. From FreeBSD.
2005-06-04 15:47:53 +00:00
kurt
56f5b6a11c timezone is a function on BSD, not a variable, so move the timezone
== 0 check to the non-BSD section. from millert@

no funtional change, so no PKGNAME bump
2005-06-02 18:18:15 +00:00
espie
66b1717b38 tsk, tsk, distibution 2005-05-27 09:34:00 +00:00
kurt
48f713b65f quiet the pre-patch phase 2005-05-24 22:02:47 +00:00
kurt
aad015c882 - add missing -pthread to java_vm. From niklas@.
- add missing -pthread to awt_robot, libjavaplugin_oji.so.
- fix misc timezone issues
- bump PKGNAME
2005-04-19 14:35:56 +00:00
db
0925c3a284 typo and wording fixes; approved by pval
ok mbalmer@ "that diff was fun to read"
2005-03-15 01:57:02 +00:00
sturm
91d5b61cdd build with systrace 2005-02-06 22:06:34 +00:00
kurt
a53e8bb58b - teach jdk about /usr/local/lib
- teach ClassLoader how to load native libs with version numbers
- fix writes to HOME complaints
- point license URL to license itself
- fix timezone problem noticed by Roy Morris
- bump package name

ok alek@
2005-02-04 17:06:45 +00:00
naddy
3f04f8f321 SIZE 2005-01-05 16:22:24 +00:00
kurt
9a7dc09e56 - Initial import of jdk-1.4.2
Version 1.4.2 of Java 2 Platform, Standard Edition (J2SE)

with help from many; ok naddy@ espie@
2004-12-21 04:01:05 +00:00