nivanova/openldap.git
10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Fri, 4 Oct 2013 09:49:00 +0000 (02:49 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoITS#7715 always set filesize for WRITEMAP
Howard Chu [Fri, 4 Oct 2013 09:46:38 +0000 (02:46 -0700)]
ITS#7715 always set filesize for WRITEMAP

10 years agoAdd Caveat: Readers need write access. Whitespace.
Hallvard Furuseth [Thu, 3 Oct 2013 22:48:19 +0000 (00:48 +0200)]
Add Caveat: Readers need write access. Whitespace.

10 years agoMaintain MDB_cursor.mc_top
Hallvard Furuseth [Thu, 3 Oct 2013 21:59:25 +0000 (23:59 +0200)]
Maintain MDB_cursor.mc_top

10 years agomdb_cursor_sibling(): Fix error result
Hallvard Furuseth [Thu, 3 Oct 2013 21:59:25 +0000 (23:59 +0200)]
mdb_cursor_sibling(): Fix error result

10 years agomdb_node_add(): Plug page leak when MDB_PAGE_FULL.
Hallvard Furuseth [Thu, 3 Oct 2013 21:59:25 +0000 (23:59 +0200)]
mdb_node_add(): Plug page leak when MDB_PAGE_FULL.

Do not fail after mdb_page_new() succeeds.

10 years agoOptimize code holding reader mutex
Hallvard Furuseth [Thu, 3 Oct 2013 21:59:24 +0000 (23:59 +0200)]
Optimize code holding reader mutex

10 years agoSet MDB_xcursor DB_DIRTY, clear md_name.
Hallvard Furuseth [Thu, 3 Oct 2013 21:59:24 +0000 (23:59 +0200)]
Set MDB_xcursor DB_DIRTY, clear md_name.

Both were unused and md_name was unmaintained -- except
mdb_cursor_touch(xcursor) would abuse md_name as a key to
touch MAIN_DBI if it could somehow get passed ! DB_DIRTY.

10 years agoSet subDB DBI=parent DBI, fix MDB_DUPSORT delete.
Hallvard Furuseth [Thu, 3 Oct 2013 21:59:24 +0000 (23:59 +0200)]
Set subDB DBI=parent DBI, fix MDB_DUPSORT delete.

xcursor DBIs were parent DBI+1 for debugging. Instead output
-(parent DBI).  Fixes a crash in mdb_cursor_del0()'s xcursor
tracking, it forgot to subtract 1 for C_SUB cursors.

10 years agos/MDB_NORDLOCK/MDB_NOLOCK/
Howard Chu [Thu, 3 Oct 2013 17:26:44 +0000 (10:26 -0700)]
s/MDB_NORDLOCK/MDB_NOLOCK/

Leave all lock management to the caller.

10 years agoMore doc for MDB_NORDLOCK
Howard Chu [Wed, 2 Oct 2013 06:36:57 +0000 (23:36 -0700)]
More doc for MDB_NORDLOCK

10 years agoAdd MDB_NORDLOCK to omit all reader table usage
Howard Chu [Tue, 1 Oct 2013 20:16:38 +0000 (13:16 -0700)]
Add MDB_NORDLOCK to omit all reader table usage

Calling app wants to manage its own locking.

10 years agoITS#7712 Fix lock ordering in libldap abandon
Emily Backes [Mon, 30 Sep 2013 22:14:22 +0000 (15:14 -0700)]
ITS#7712 Fix lock ordering in libldap abandon

10 years agoDrop unneeded code.
Hallvard Furuseth [Mon, 23 Sep 2013 18:21:11 +0000 (20:21 +0200)]
Drop unneeded code.

MDB_txn.mt_toggle: Use (mt_txnid & 1) instead.
Drop error checks which will be repeated.
mdb_cursor_set(): Turn assert into if/return to match the above.
mdb_cursor_del(): 'flags' are now used as bitflags.

10 years agoClean up and simplify mdb_page_search().
Hallvard Furuseth [Mon, 23 Sep 2013 18:21:11 +0000 (20:21 +0200)]
Clean up and simplify mdb_page_search().

Only named DBs can have DB_STALE, and they do not use MDB_PS_MODIFY.
Replace magic key values with flags.  Drop duplicated comments at
mdb_page_search_root() vs. mdb_page_search(), and rephrase.

10 years agoTweak MDB_DEBUG output
Hallvard Furuseth [Mon, 23 Sep 2013 18:20:42 +0000 (20:20 +0200)]
Tweak MDB_DEBUG output

10 years agoRename SWAP() to avoid conflict with sqlightning.
Hallvard Furuseth [Mon, 23 Sep 2013 18:20:05 +0000 (20:20 +0200)]
Rename SWAP() to avoid conflict with sqlightning.

Happened since sqlightning #includes mdb.c, midl.c.

10 years agomdb_page_unspill(): Rename local vars.
Hallvard Furuseth [Mon, 23 Sep 2013 18:13:27 +0000 (20:13 +0200)]
mdb_page_unspill(): Rename local vars.

The names have caused bugs, "txn" was treated as
the current transaction.

10 years agoITS#7515 Fix mdb_page_unspill() in nested txn.
Hallvard Furuseth [Mon, 23 Sep 2013 18:13:27 +0000 (20:13 +0200)]
ITS#7515 Fix mdb_page_unspill() in nested txn.

Malloc a page in this txn, not in a parent.

10 years agoITS#7515 Fix mdb_txn_commit(nested txn with spills).
Hallvard Furuseth [Mon, 23 Sep 2013 18:13:27 +0000 (20:13 +0200)]
ITS#7515 Fix mdb_txn_commit(nested txn with spills).

Catch malloc error.
Fix hunt for dirty vs spilled pages: Don't leave x at a deleted pageno.
Cleanup: Factor out variables, squash pages already marked for deletion.

10 years agoITS#7515 Fix mt_dirty_room in nested txns.
Hallvard Furuseth [Mon, 23 Sep 2013 18:13:27 +0000 (20:13 +0200)]
ITS#7515 Fix mt_dirty_room in nested txns.

Fix description & code: Also ignore dirty pages hidden by
spilled pages, as they won't merge into our dirty_list.
Update it in mdb_page_flush() instead of mdb_page_spill().

10 years agoITS#7515 mdb_pages_xkeep(): Careful about xcursors.
Hallvard Furuseth [Mon, 23 Sep 2013 18:13:27 +0000 (20:13 +0200)]
ITS#7515 mdb_pages_xkeep(): Careful about xcursors.

Don't prod sub-pages or pages referring to uninitialized xcursors.

10 years agomdb_pages_xkeep(): Reformat, use common flag mask
Hallvard Furuseth [Mon, 23 Sep 2013 18:13:27 +0000 (20:13 +0200)]
mdb_pages_xkeep(): Reformat, use common flag mask

10 years agoUpdate MDB documentation and comments.
Hallvard Furuseth [Mon, 23 Sep 2013 18:09:47 +0000 (20:09 +0200)]
Update MDB documentation and comments.

10 years agoITS#7682 mdb_env_copy(): Avoid Linux O_DIRECT bug.
Hallvard Furuseth [Mon, 23 Sep 2013 18:07:29 +0000 (20:07 +0200)]
ITS#7682 mdb_env_copy(): Avoid Linux O_DIRECT bug.

Use fcntl() to set the flag.  Linux open(,O_DIRECT...) can create
the file even on failure, if the filesystem lacks O_DIRECT support.

10 years agoITS#7681 fix 18a07eb7c2dc33372455a6040984cd6b699b41a5
Howard Chu [Sun, 15 Sep 2013 20:08:29 +0000 (13:08 -0700)]
ITS#7681 fix 18a07eb7c2dc33372455a6040984cd6b699b41a5

Set rc=0 when taking the SET_RANGE branch

10 years agoITS#7701 fix mdb_rebalance
Howard Chu [Sat, 21 Sep 2013 21:37:11 +0000 (14:37 -0700)]
ITS#7701 fix mdb_rebalance

Must copy tmp cursor back to real cursor when merging into tmp cursor.

10 years agoFix modrdn unique check
Howard Chu [Thu, 19 Sep 2013 22:58:40 +0000 (15:58 -0700)]
Fix modrdn unique check

Just check normalized name match. Case-changes are allowed.

10 years agoAdd maxsize parameter for mdb examples
Quanah Gibson-Mount [Thu, 19 Sep 2013 22:03:53 +0000 (15:03 -0700)]
Add maxsize parameter for mdb examples

10 years agoUpdate example slapd.conf bits to use mdb instead of bdb
Quanah Gibson-Mount [Thu, 19 Sep 2013 21:28:12 +0000 (14:28 -0700)]
Update example slapd.conf bits to use mdb instead of bdb

10 years agoSwitch example slapd.conf to use mdb instead of bdb
Quanah Gibson-Mount [Thu, 19 Sep 2013 21:23:11 +0000 (14:23 -0700)]
Switch example slapd.conf to use mdb instead of bdb

10 years agoRegenerated configure
Quanah Gibson-Mount [Thu, 19 Sep 2013 20:38:52 +0000 (13:38 -0700)]
Regenerated configure

10 years agoFix option bits
Quanah Gibson-Mount [Thu, 19 Sep 2013 20:38:37 +0000 (13:38 -0700)]
Fix option bits

10 years agoUpdated configure
Quanah Gibson-Mount [Thu, 19 Sep 2013 20:08:57 +0000 (13:08 -0700)]
Updated configure

10 years agoMore for flag changes
Quanah Gibson-Mount [Thu, 19 Sep 2013 20:01:30 +0000 (13:01 -0700)]
More for flag changes

10 years agoNote bdb/hdb are deprecated and scheduled for removal in openldap 2.6
Quanah Gibson-Mount [Thu, 19 Sep 2013 19:51:33 +0000 (12:51 -0700)]
Note bdb/hdb are deprecated and scheduled for removal in openldap 2.6

10 years agoDefault hdb to "no" instead of "yes"
Quanah Gibson-Mount [Thu, 19 Sep 2013 18:40:24 +0000 (11:40 -0700)]
Default hdb to "no" instead of "yes"

10 years agoEnable features that were hidden behind LDAP_DEVEL
Quanah Gibson-Mount [Thu, 19 Sep 2013 16:50:52 +0000 (09:50 -0700)]
Enable features that were hidden behind LDAP_DEVEL

10 years agoITS#7687: password modify can muck with controls (quick fix)
Pierangelo Masarati [Tue, 10 Sep 2013 19:58:28 +0000 (21:58 +0200)]
ITS#7687: password modify can muck with controls (quick fix)

10 years agoITS#7398 add LDAP_OPT_X_TLS_PEERCERT
Howard Chu [Tue, 10 Sep 2013 11:26:51 +0000 (04:26 -0700)]
ITS#7398 add LDAP_OPT_X_TLS_PEERCERT

retrieve peer cert for an active TLS session

10 years agoITS#7683 more for tls version/cipher info
Howard Chu [Mon, 9 Sep 2013 18:41:28 +0000 (11:41 -0700)]
ITS#7683 more for tls version/cipher info

Add LDAP_OPT_X_TLS_VERSION / LDAP_OPT_X_TLS_CIPHER for
retrieving from an LDAP session handle. Update ldap_get_option(3).

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Mon, 9 Sep 2013 15:30:52 +0000 (08:30 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoRelease 0.9.8
Howard Chu [Mon, 9 Sep 2013 15:29:46 +0000 (08:29 -0700)]
Release 0.9.8

10 years agoITS#7381 more for prev commit
Howard Chu [Mon, 9 Sep 2013 11:59:20 +0000 (04:59 -0700)]
ITS#7381 more for prev commit

10 years agoITS#7595 don't try to use EC if OpenSSL lacks it
Howard Chu [Sun, 8 Sep 2013 13:32:23 +0000 (06:32 -0700)]
ITS#7595 don't try to use EC if OpenSSL lacks it

10 years agoDrop unused var in prev commit
Howard Chu [Sat, 7 Sep 2013 21:58:18 +0000 (14:58 -0700)]
Drop unused var in prev commit

10 years agoSimplify write waiter handling
Howard Chu [Thu, 15 Aug 2013 00:25:11 +0000 (17:25 -0700)]
Simplify write waiter handling

Writer threads do their own wait using select/poll instead of
asking the listener thread. Eliminates one mutex+one condvar
per conn plus multiple wakeups of the listener thread. Also
fixes writetimeout to wait an exact time, instead of the
approximation used in the listener thread.

10 years agoITS#7683 log tls prot/cipher info
Howard Chu [Sat, 7 Sep 2013 19:22:09 +0000 (12:22 -0700)]
ITS#7683 log tls prot/cipher info

Note: I could not test the MozNSS patch due to the absence of
NSS PEM support on my machine. Given the review comments in
https://bugzilla.mozilla.org/show_bug.cgi?id=402712 I doubt that
trustworthy PEM support will be appearing for MozNSS any time soon.

10 years agoITS#7595 more doc for elliptic curve
Howard Chu [Sat, 7 Sep 2013 17:13:40 +0000 (10:13 -0700)]
ITS#7595 more doc for elliptic curve

10 years agoITS#7685 add missing olcTLSProtocolMin
Howard Chu [Sat, 7 Sep 2013 17:00:11 +0000 (10:00 -0700)]
ITS#7685 add missing olcTLSProtocolMin

10 years agoITS#7595 Add Elliptic Curve support for OpenSSL
Howard Chu [Sat, 7 Sep 2013 16:47:19 +0000 (09:47 -0700)]
ITS#7595 Add Elliptic Curve support for OpenSSL

10 years agoITS#7430 GnuTLS: Avoid use of deprecated function
Howard Chu [Sat, 7 Sep 2013 16:39:24 +0000 (09:39 -0700)]
ITS#7430 GnuTLS: Avoid use of deprecated function

10 years agoAdd GnuTLS channel binding support
Howard Chu [Sat, 7 Sep 2013 16:38:47 +0000 (09:38 -0700)]
Add GnuTLS channel binding support

10 years agoFix double-free on ciphersuite parse failure
Howard Chu [Sat, 7 Sep 2013 15:58:25 +0000 (08:58 -0700)]
Fix double-free on ciphersuite parse failure

GnuTLS does an implicit free on failure.

10 years agoITS#7684, #7506 TLSDHParamFile typo
Howard Chu [Sat, 7 Sep 2013 14:31:56 +0000 (07:31 -0700)]
ITS#7684, #7506 TLSDHParamFile typo

10 years agoITS#7506 more doc updates
Howard Chu [Sat, 7 Sep 2013 13:50:30 +0000 (06:50 -0700)]
ITS#7506 more doc updates

10 years agoITS#7506 DHParamFile: Update docs
Ben Jencks [Sun, 27 Jan 2013 23:42:17 +0000 (18:42 -0500)]
ITS#7506 DHParamFile: Update docs

Update docs to reflect changes in handling and fix some errors.

10 years agoITS#7506 fix prev commit
Howard Chu [Sat, 7 Sep 2013 13:39:53 +0000 (06:39 -0700)]
ITS#7506 fix prev commit

The patch unconditionally enabled DHparams, which is a significant
change of behavior. Reverting to previous behavior, which only enables
DH use if a DHparam file was configured.

10 years agoITS#7506 tls_o.c: Fix Diffie-Hellman parameter usage.
Ben Jencks [Sun, 27 Jan 2013 23:27:03 +0000 (18:27 -0500)]
ITS#7506 tls_o.c: Fix Diffie-Hellman parameter usage.

If a DHParamFile or olcDHParamFile is specified, then it will be used,
otherwise a hardcoded 1024 bit parameter will be used. This allows the use of
larger parameters; previously only 512 or 1024 bit parameters would ever be
used.

10 years agoITS#7506 cleanup prev commit
Howard Chu [Sat, 7 Sep 2013 13:31:58 +0000 (06:31 -0700)]
ITS#7506 cleanup prev commit

10 years agoITS#7506 tls_g.c: Properly support DHParamFile.
Ben Jencks [Sun, 27 Jan 2013 22:26:14 +0000 (17:26 -0500)]
ITS#7506 tls_g.c: Properly support DHParamFile.

If a DHParamFile or olcDHParamFile is specified then it will be loaded. This
allows use of DHE/EDH cipher suites which was previously impossible with
GnuTLS.

10 years agoITS#7381 fix chain config for restarts
Howard Chu [Fri, 6 Sep 2013 19:52:28 +0000 (12:52 -0700)]
ITS#7381 fix chain config for restarts

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Fri, 6 Sep 2013 19:54:02 +0000 (12:54 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoupdates
Howard Chu [Thu, 5 Sep 2013 23:23:49 +0000 (16:23 -0700)]
updates

10 years agoITS#7682 In mdb_env_copy retry open if O_DIRECT fails
Salvador Ortiz [Thu, 5 Sep 2013 22:36:52 +0000 (17:36 -0500)]
ITS#7682 In mdb_env_copy retry open if O_DIRECT fails

10 years agoMore for 5f6fa8c04204888c4ff7ac6be1868d81ff4410a8
Howard Chu [Thu, 5 Sep 2013 13:02:07 +0000 (06:02 -0700)]
More for 5f6fa8c04204888c4ff7ac6be1868d81ff4410a8

Reset delete flag in cursor_put().

10 years agoITS#7681 fix mdb_cursor_set behaviour for MDB_SET_RANGE
Claude Brisson [Thu, 5 Sep 2013 10:58:18 +0000 (12:58 +0200)]
ITS#7681 fix mdb_cursor_set behaviour for MDB_SET_RANGE

10 years agoFix uninit'd poolqs in prev commit
Howard Chu [Wed, 4 Sep 2013 00:29:32 +0000 (17:29 -0700)]
Fix uninit'd poolqs in prev commit

10 years agoRemember if last cursor op was a delete
Howard Chu [Tue, 3 Sep 2013 23:10:20 +0000 (16:10 -0700)]
Remember if last cursor op was a delete

If so, don't advance cursor on next NEXT. Also, init xcursor
on the next GET_CURRENT.

10 years agoMore for threadpool queues
Howard Chu [Tue, 3 Sep 2013 22:06:37 +0000 (15:06 -0700)]
More for threadpool queues

Allow dynamic reconfig

10 years agoITS#7680 Fix typos in manpages.
Jan Synacek [Tue, 3 Sep 2013 12:09:37 +0000 (14:09 +0200)]
ITS#7680 Fix typos in manpages.

10 years agoIn mdb_checkpoint, force sync
Howard Chu [Mon, 2 Sep 2013 19:54:48 +0000 (12:54 -0700)]
In mdb_checkpoint, force sync

Otherwise this is a no-op in various NOSYNC/MAPASYNC situations

10 years agoITS#7676,7677 don't leak libldap err codes
Howard Chu [Fri, 30 Aug 2013 19:18:55 +0000 (12:18 -0700)]
ITS#7676,7677 don't leak libldap err codes

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Thu, 29 Aug 2013 03:45:12 +0000 (20:45 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoAdd a changelog
Howard Chu [Thu, 29 Aug 2013 03:22:41 +0000 (20:22 -0700)]
Add a changelog

10 years agoBump version to 0.9.8
Howard Chu [Thu, 29 Aug 2013 02:17:25 +0000 (19:17 -0700)]
Bump version to 0.9.8

10 years agoAllow mdb_env_set_mapsize() on an open environment
Howard Chu [Thu, 29 Aug 2013 02:12:59 +0000 (19:12 -0700)]
Allow mdb_env_set_mapsize() on an open environment

The caller is responsible for making sure no transactions are
active in this process before resizing. This is slightly lighter
weight than doing a full env_close/env_open cycle.

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Tue, 27 Aug 2013 13:34:59 +0000 (06:34 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoITS#7672 fix mdb_dbi_flags
Howard Chu [Tue, 27 Aug 2013 13:28:30 +0000 (06:28 -0700)]
ITS#7672 fix mdb_dbi_flags

Use a txn instead of env argument. Only return persistent flags.

10 years agoAdd channel binding support
Howard Chu [Tue, 27 Aug 2013 06:31:48 +0000 (23:31 -0700)]
Add channel binding support

Currently only implemented for OpenSSL.
Needs an option to set the criticality flag.

10 years agomdb_page_unspill(): Fix dirty_room in nested txn
Hallvard Furuseth [Sun, 25 Aug 2013 21:59:58 +0000 (23:59 +0200)]
mdb_page_unspill(): Fix dirty_room in nested txn

10 years agoAnother take on spill_pgs and deletes
Howard Chu [Sat, 24 Aug 2013 19:37:45 +0000 (20:37 +0100)]
Another take on spill_pgs and deletes

10 years agoCleanup prev commit
Howard Chu [Sat, 24 Aug 2013 18:54:05 +0000 (11:54 -0700)]
Cleanup prev commit

10 years agoSpeedup deletion from spill_pgs
Howard Chu [Sat, 24 Aug 2013 18:48:37 +0000 (19:48 +0100)]
Speedup deletion from spill_pgs

10 years agoITS#7671 always return the key for a dup val
Howard Chu [Fri, 23 Aug 2013 14:36:07 +0000 (07:36 -0700)]
ITS#7671 always return the key for a dup val

10 years agoITS#7670 Tweak cursor_del0
Howard Chu [Fri, 23 Aug 2013 04:43:29 +0000 (21:43 -0700)]
ITS#7670 Tweak cursor_del0

Always leave cursor pointing at "next" node, if any.
Find next sibling if we're already at end of current page.

10 years agomdb_page_spill(): Fix nested txn mt_dirty_room
Hallvard Furuseth [Fri, 23 Aug 2013 05:39:04 +0000 (07:39 +0200)]
mdb_page_spill(): Fix nested txn mt_dirty_room

10 years agoSimplify last commits
Hallvard Furuseth [Fri, 23 Aug 2013 05:37:17 +0000 (07:37 +0200)]
Simplify last commits

10 years agoTweak prev commit
Howard Chu [Fri, 23 Aug 2013 04:29:53 +0000 (21:29 -0700)]
Tweak prev commit

If somehow "need" is larger than the list size, don't
try to fake out the dirty list.

10 years agoLess aggressive page_spill
Howard Chu [Fri, 23 Aug 2013 01:51:48 +0000 (18:51 -0700)]
Less aggressive page_spill

spilling all possible pages is a waste because the majority will be
needed again. Just do 1/8th of the dirty list instead.

10 years agoUpdate caveats now that mdb_reader_check exists
Howard Chu [Wed, 21 Aug 2013 00:37:53 +0000 (17:37 -0700)]
Update caveats now that mdb_reader_check exists

10 years agoCleanup comments in prev commit
Howard Chu [Mon, 19 Aug 2013 21:24:00 +0000 (14:24 -0700)]
Cleanup comments in prev commit

10 years agoMore fixes for prev commit
Howard Chu [Mon, 19 Aug 2013 20:54:17 +0000 (13:54 -0700)]
More fixes for prev commit

10 years agoFix 34f832faee9f215dfdb61de52506f2905258b147
Howard Chu [Mon, 19 Aug 2013 11:20:35 +0000 (04:20 -0700)]
Fix 34f832faee9f215dfdb61de52506f2905258b147

Lock ordering issues

10 years agoFix prev commit
Howard Chu [Mon, 19 Aug 2013 04:15:30 +0000 (21:15 -0700)]
Fix prev commit

Hardcoded number of queues was leftover from preliminary
work. Use connection_pool_queues.

10 years agoMultiple queues per threadpool
Howard Chu [Thu, 15 Aug 2013 13:54:35 +0000 (06:54 -0700)]
Multiple queues per threadpool

10 years agoTweak mutex acquisition
Howard Chu [Sat, 17 Aug 2013 01:56:31 +0000 (18:56 -0700)]
Tweak mutex acquisition

Slightly reduce held time.

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Fri, 16 Aug 2013 13:44:58 +0000 (06:44 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoSilence warnings
Howard Chu [Wed, 14 Aug 2013 16:57:25 +0000 (09:57 -0700)]
Silence warnings

10 years agoTweak ITS#7615 fix: Obey strict-aliasing rules.
Hallvard Furuseth [Wed, 14 Aug 2013 13:21:59 +0000 (15:21 +0200)]
Tweak ITS#7615 fix: Obey strict-aliasing rules.

Do not access a long long as an array of longs.