access to the dom window
patch by Christian Persch <chpe@gnome.org> r=jgmyers sr=roc a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177944 18797224-902f-48f8-a5cc-f745e15eee43
sr=brendan r=wtc a=dbaron
The issue is the use of the PL_DHash* functions. It's possible that a given call to PL_DHashOperate which adds a new entry may cause the hash table to expand, and all the existing entries to be reallocated. PL_DHash does this by allocating new memory, then copying the entries. getCacheEntry() returns one of these hash entries. CmpBy() makes two consecutive calls to getCacheEntry, then uses the returned entries for it's comparisons. If the second entry call causes a new entry to be added to the table, and causes the hash table to expand, the pointer to the first entry we retrieved will point to freed memory. The fix is to make the usable entry a pointer in the hashtable entry, and return that pointer. When the hashtable rebuilds it's entries, the pointer will be copied to the new entry and not be disturbed.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177796 18797224-902f-48f8-a5cc-f745e15eee43
#/********************************************************************/
#/* The VERSION Strings should be updated in the following */
#/* files everytime a new release of JSS is generated: */
#/* */
#/* org/mozilla/jss/CryptoManager.java */
#/* org/mozilla/jss/CryptoManager.c */
#/* org/mozilla/jss/util/jssver.h */
#/* lib/manifest.mn */
#/* */
#/********************************************************************/
git-svn-id: svn://10.0.0.236/trunk@177648 18797224-902f-48f8-a5cc-f745e15eee43
r=wtc.
Delay loading the S/MIME records on upgrade until the cert is loaded
git-svn-id: svn://10.0.0.236/trunk@177646 18797224-902f-48f8-a5cc-f745e15eee43
transfering large files (> 10MB). In order to test this in current and future
release, there needs to be a test client that can read a file and transfer it to
a server (remote or local) via JSS socket. The server should report the number
of bytes read and the time it took to read these bytes. There should not no
degradation in read time if there is no leak of any sort.
This is not part of all.pl, but is a client/server that uses JSS to transfer
files securely. The main purpose of this test would be to test the performance
of large file transfer using JSS.
NOTE: If bufferedStream.mark(Integer.MAX_VALUE); method is invoked then fill
method of BufferedInputStream class copies lot of data using System.arraycopy
(which in-turn use memcpy). This causes very high CPU usage. This is one of
the reasons secure large file transfer can become slow over time.
git-svn-id: svn://10.0.0.236/trunk@177558 18797224-902f-48f8-a5cc-f745e15eee43
buffer. We access this buffer using indices from 0 to orderBitSize.
r=douglas.stebila.
git-svn-id: svn://10.0.0.236/trunk@177513 18797224-902f-48f8-a5cc-f745e15eee43
two character sequence '\r''\n'. Make sure a character is a digit before
using it as a digit. r=jpierre.
git-svn-id: svn://10.0.0.236/trunk@177446 18797224-902f-48f8-a5cc-f745e15eee43
Sparc v8 (not V8plus) CPUs. This works around a performance regression
by restoring the former code. Bug 303338. r=wtchang.
Modified Files: Makefile
Added Files: mpi/mpv_sparcv8x.s
git-svn-id: svn://10.0.0.236/trunk@177266 18797224-902f-48f8-a5cc-f745e15eee43
Upgrade license to tri-license. Fix a bunch of whitespace problems,
WAY too much indentation. Related to bug 303338. r=wtchang.
Modified Files: mpi/mpv_sparcv8.s
git-svn-id: svn://10.0.0.236/trunk@177265 18797224-902f-48f8-a5cc-f745e15eee43
to nss/lib/freebl. This version is identical to the first version
of this file in nss/lib/freebl. Bug 303316. r=wtchang.
Modified Files: alghmac.c alghmac.h rawhash.c
git-svn-id: svn://10.0.0.236/trunk@177262 18797224-902f-48f8-a5cc-f745e15eee43
automatically created by the fixtests.sh script by copying the non-ECC
(default) test scripts to these names. r=vipul.gupta.
Removed Files: cert/noeccert.sh tools/noectools.sh
git-svn-id: svn://10.0.0.236/trunk@177103 18797224-902f-48f8-a5cc-f745e15eee43
RSA private key to a session key, to eliminate DB lookups and 3DES
unwrapping for every use. Bug 274538. r=rrelyea.
Modified Files: nss/nss.def pk11wrap/pk11akey.c pk11wrap/pk11pub.h
git-svn-id: svn://10.0.0.236/trunk@177048 18797224-902f-48f8-a5cc-f745e15eee43
subjectPublicKeyInfo as a bit string. r=nelsonb,jpierre. Thanks to
Mikhail Teterin <mi+mozilla@aldan.algebra.com> for the bug report and
Purify output.
git-svn-id: svn://10.0.0.236/trunk@176942 18797224-902f-48f8-a5cc-f745e15eee43
crash when accepting new certificate permanently on taschenonkel.de
r=wtc, r=nelson
git-svn-id: svn://10.0.0.236/trunk@176937 18797224-902f-48f8-a5cc-f745e15eee43