* The previously released version 4.13 had changed pipes to be
nonblocking by default, and as a consequence, PollEvent was changed
to not block on clear.
The NSPR development team received reports that these changes
caused regressions in some applications that use NSPR, and it
has been decided to revert the changes made in NSPR 4.13.
NSPR 4.13.1 restores the traditional behavior of pipes and PollEvent.
- update to version 4.13
NSPR 4.13 has the following bug fixes:
* PL_strcmp (and others) were fixed to return consistent results
when one of the arguments is NULL.
* PollEvent was fixed to not block on clear.
* Pipes are always nonblocking.
* PR_GetNameForIdentity: added thread safety lock and bound checks.
* Removed the PLArena freelist.
* Avoid some integer overflows.
* fixed several comments.
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=87
- update to version 4.12
* added a PR_GetEnvSecure function, which attempts to detect if
the program is being executed with elevated privileges, and
returns NULL if detected. It is recommended to use this function
in general purpose library code.
* fixed a memory allocation bug related to the PR_*printf functions
* exported API PR_DuplicateEnvironment, which had already been
added in NSPR 4.10.9
* added support for FreeBSD aarch64
* several minor correctness and compatibility fixes
OBS-URL: https://build.opensuse.org/request/show/368754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=59
* added a PR_GetEnvSecure function, which attempts to detect if
the program is being executed with elevated privileges, and
returns NULL if detected. It is recommended to use this function
in general purpose library code.
* fixed a memory allocation bug related to the PR_*printf functions
* exported API PR_DuplicateEnvironment, which had already been
added in NSPR 4.10.9
* added support for FreeBSD aarch64
* several minor correctness and compatibility fixes
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=83
- update to version 4.10.9
* bmo#1021167: Leak of |poll_list| on failure in _MW_PollInternal
* bmo#1030692: Make compiling nspr on windows possible again.
* bmo#1088790: dosprint() doesn't support %zu and other size formats
* bmo#1130787: prtime.h does not compile with MSVC's /Za (ISO C/C++
conformance) option
* bmo#1153610: MIPS64: Add support for n64 ABI
* bmo#1156029: Teach clang-analyzer about PR_ASSERT
* bmo#1160125: MSVC version detection is broken CC is set to a wrapper
(like sccache)
* bmo#1163346: Add NSPR support for FreeBSD mips/mips64
* bmo#1169185: Add support for OpenRISC (or1k)
* bmo:1174749: Remove configure block for iOS that uses MACOS_SDK_DIR
* bmo#1174781: PR_GetInheritedFD can use uninitialized variables
OBS-URL: https://build.opensuse.org/request/show/336463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=56
* bmo#1021167: Leak of |poll_list| on failure in _MW_PollInternal
* bmo#1030692: Make compiling nspr on windows possible again.
* bmo#1088790: dosprint() doesn't support %zu and other size formats
* bmo#1130787: prtime.h does not compile with MSVC's /Za (ISO C/C++
conformance) option
* bmo#1153610: MIPS64: Add support for n64 ABI
* bmo#1156029: Teach clang-analyzer about PR_ASSERT
* bmo#1160125: MSVC version detection is broken CC is set to a wrapper
(like sccache)
* bmo#1163346: Add NSPR support for FreeBSD mips/mips64
* bmo#1169185: Add support for OpenRISC (or1k)
* bmo:1174749: Remove configure block for iOS that uses MACOS_SDK_DIR
* bmo#1174781: PR_GetInheritedFD can use uninitialized variables
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=75
* bmo#573192: remove the stack-based PRFileDesc cache.
* bmo#756047: check for _POSIX_THREAD_PRIORITY_SCHEDULING > 0 instead
of only checking if the identifier is defined.
* bmo#782113: Add NSPR support for FreeBSD ppc/ppc64/arm.
* bmo#782124: Implement PR_GetPhysicalMemorySize on FreeBSD/DragonFly.
* bmo#1060292: Make PR_Assert() and PR_Abort() output visible in the
logcat on Android.
* bmo#1089908: Fix variable shadowing in _PR_MD_LOCKFILE. Use
PR_ARRAY_SIZE to get the array size of _PR_RUNQ(t->cpu).
* bmo#1105144: Two places in NSPR's pruthr.c cast a pointer to long,
which isn't correct on 64-bit Windows.
* bmo#1060401: change import library name under mingw.
* bmo#1106600: Replace PR_ASSERT(!"foo") with PR_NOT_REACHED("foo") t
fix clang -Wstring-conversion warnings.
* bmo#1107063: link NSPR libs with -soname on OpenBSD.
* bmo#1120772: Avoid defining snprintf when MSVC provides it.
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=72
* bmo#836658: VC11+ defaults to SSE2 builds by default.
* bmo#979278: TSan: data race nsprpub/pr/src/threads/prtpd.c:103
PR_NewThreadPrivateIndex.
* bmo#1026129: Replace some manual declarations of MSVC intrinsics with
#include <intrin.h>.
* bmo#1026469: Use AC_CHECK_LIB instead of MOZ_CHECK_PTHREADS. Skip
compiler checks when using MSVC, even when $CC is
not literally "cl".
* bmo#1034415: NSPR hardcodes the C compiler to cl on Windows.
* bmo#1042408: Compilation fix for Android > API level 19.
* bmo#1043082: NSPR's build system hardcodes -MD.
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=71
- update to version 4.10.6 (bnc#881874)
* requirement for Firefox 30
* PR_GetPhysicalMemorySize should release the mach_host_self()
Mach port when done with it (bmo#1009270)
* "Network address type not supported" error on the Hurd (bmo#1011861)
* Clang Static Analysis: useless declaration in NSPR (bmo#1003946)
* OOB write with sprintf and console functions (bmo#1018783)
(CVE-2014-1545)
OBS-URL: https://build.opensuse.org/request/show/236861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nspr?expand=0&rev=51
* requirement for Firefox 30
* PR_GetPhysicalMemorySize should release the mach_host_self()
Mach port when done with it (bmo#1009270)
* "Network address type not supported" error on the Hurd (bmo#1011861)
* Clang Static Analysis: useless declaration in NSPR (bmo#1003946)
* OOB write with sprintf and console functions (bmo#1018783)
(CVE-2014-1545)
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=69
* bmo#767759: Add support for new x32 abi
* bmo#844784: Thread data race in PR_EnterMonitor
* bmo#939786: data race nsprpub/pr/src/pthreads/ptthread.c:137 _pt_root
* bmo#958796: Users of _beginthreadex that set a custom stack size
may not be getting the behavior they want
* bmo#963033: AArch64 support update for NSPR
* bmo#969061: Incorrect end-of-list test when iterating over a
PRCList in prcountr.c and prtrace.c
* bmo#971152: IPv6 detection on linux depends on availability of
/proc/net/if_inet6
config.guess and config.sub are updated by the ppc64le patch
(renamed ppc64le-support.patch to nspr-ppc64le.patch)
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=65
* bmo#749849: ensure we'll free the thread-specific data key.
* bmo#941461: don't compile android with unaligned memory access.
* bmo#932398: Add PR_SyncMemMap, a portable version of
msync/FlushViewOfFile.
* bmo#952621: Fix a thread-unsafe access to lock->owner in PR_Lock.
* bmo#957458: Fix several bugs in the lock rank checking code.
* bmo#936320: Use an alternative test for IPv6 support on Linux to
avoid opening a socket.
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=62
* bmo#844513: Add AddressSanitizer (ASan) memory check annotations to
PLArena.
* bmo#849089: Simple changes to make NSPR's configure.in work with
the current version of autoconf.
* bmo#856196: Fix compiler warnings and clean up code in NSPR 4.10.
* bmo#859066: Fix warning in nsprpub/pr/src/misc/prnetdb.c.
* bmo#859830: Deprecate ANDROID_VERSION in favor of android/api-level.h.
* bmo#861434: Make PR_SetThreadPriority() change priorities
relatively to the main process instead of using absolute values on
Linux.
* bmo#871064L: _PR_InitThreads() should not call PR_SetThreadPriority.
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=53
* aarch64 support
(removed obsolete aarch64-support.patch)
* added PL_SizeOfArenaPoolExcludingPool function (bmo#807883)
* Auto detect android api version for x86 (bmo#782214)
* Initialize Windows CRITICAL_SECTIONs without debug info and
with nonzero spin count (bmo#812085)
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=51
* bmo#634793: define NSPR's exact-width integer types PRInt{N} and
PRUint{N} types to match the <stdint.h> exact-width integer types
int{N}_t and uint{N}_t.
* bmo#782815: passing 'int *' to parameter of type 'unsigned int *'
in setsockopt().
* bmo#822932: Port bmo#802527 (NDK r8b support for x86) to NSPR.
* bmo#824742: NSPR shouldn't require librt on Android.
* bmo#831793: data race on lib->refCount in PR_UnloadLibrary.
* update config.guess/sub for aarch64 support
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=49
* bmo#757593: PR_IntervalNow not monotonic for Android, Linux,
Mac OS X.
* bmo#804806: Remove support for obsolete platforms (ncr, nec,
sony, nextstep, sinix/reliantunix, and sunos4).
* bmo#804833: Allow PR_FormatTime and PR_FormatTimeUSEnglish with
NO_NSPR_10_SUPPORT. Fixed by Isaac Aggrey.
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nspr?expand=0&rev=46