Branch: Tag:

2019-07-12

2019-07-12 15:11:04 by Marcus Comstedt <marcus@mc.pp.se>

BSON: Use length field when decoding document in JavaScript code w/ scope

Also fix the checks on jslen.

2019-07-12 14:43:55 by Marcus Comstedt <marcus@mc.pp.se>

BSON: Fix decoding of JavaScript code w/ scope

The length stored first in the code_w_s nonterminal is the length of
the entire code_w_s, and thus includes the length field itself.
Therefore the size check must be performed _before_ consuming the
length field.

2019-05-15

2019-05-15 13:48:40 by William Welliver <william@welliver.org>

Merge branch 'arne/BSON_fixes'

Better bounds checking and test fixes

2019-05-04

2019-05-04 15:32:39 by Arne Goedeke <el@laramies.com>

BSON: simplify and fix buffer bounds checks

2019-05-04 14:26:32 by Arne Goedeke <el@laramies.com>

BSON: check buffer length before reading

This commit prevents the BSON parser from returning bytes past the end
of the input string.

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2019-03-14

2019-03-14 10:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap

* commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits)
Removed the old typechecker.
...

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-02-15

2018-02-15 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63

* commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits)
...

2017-07-26

2017-07-26 23:21:15 by Martin Nilsson <nilsson@fastmail.com>

Both increment and timestamp are defined as uint32_t in libbson.

2017-07-20

2017-07-20 08:49:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Fixed sign handling in Timestamps.

The Standards.BSON.Timestamp counter is unsigned, and the UTC
offset is signed.

Also adds some parameter range validation.

Fixes testsuite failures on 32-bit platforms.

2017-07-19

2017-07-19 09:02:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Fixed leak of Standards.BSON.Binary program.

2017-07-16

2017-07-16 21:39:32 by Martin Nilsson <nilsson@fastmail.com>

Removed old comment.

2017-07-16 17:39:33 by Martin Nilsson <nilsson@fastmail.com>

Remove unused variables.

2017-07-16 16:47:32 by Martin Nilsson <nilsson@fastmail.com>

Bug fix for timestamp time. It is really one counter and one timestamp.

2017-07-16 16:06:40 by Martin Nilsson <nilsson@fastmail.com>

Added decoding support for code with scope.

2017-07-16 14:31:54 by Martin Nilsson <nilsson@fastmail.com>

Binary subtype is unsigned. Zero length binary is allowed.

2017-07-16 14:31:32 by Martin Nilsson <nilsson@fastmail.com>

Binary subtype is unsigned. Zero length binary is allowed.

2017-07-16 13:34:06 by Martin Nilsson <nilsson@fastmail.com>

BSON time can be negative.

2017-07-16 13:31:45 by Martin Nilsson <nilsson@fastmail.com>

BSON time can be negative.

2017-07-15

2017-07-15 09:55:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Added some minimal documentation.

2017-06-16

2017-06-16 15:53:11 by Marcus Agehall <agehall@roxen.com>

Fixes for BSON Binary data type.

2017-06-16 02:56:46 by Marcus Agehall <agehall@roxen.com>

BSON Binary data is not null terminated.

2017-05-09

2017-05-09 16:10:55 by Martin Nilsson <nilsson@fastmail.com>

Simplified length handling.

2017-05-09 15:40:24 by Martin Nilsson <nilsson@fastmail.com>

Support decoding of BSON directly from Stdio.Buffer objects

2017-05-08

2017-05-08 17:45:41 by Martin Nilsson <nilsson@fastmail.com>

Check the termination byte where the length descriptor says it is, not where the end of the string is.

2017-05-08 17:41:48 by Martin Nilsson <nilsson@fastmail.com>

We never push more than a few things on the stack before ending up in this check again during recursion.

2017-05-08 17:36:51 by Martin Nilsson <nilsson@fastmail.com>

Simplified some size checks.

2017-05-08 17:30:16 by Martin Nilsson <nilsson@fastmail.com>

Return the document mapping on the stack instead of as a return value.

2017-05-08 16:18:48 by Martin Nilsson <nilsson@fastmail.com>

Don't use pike strings internally. This avoids creating shared strings for each array and document.

2017-05-08 13:44:41 by Martin Nilsson <nilsson@fastmail.com>

Only check shift size once.

2017-02-09

2017-02-09 20:49:50 by Martin Nilsson <nilsson@fastmail.com>

BSON integers are signed.

2016-09-11

2016-09-11 20:03:35 by Martin Nilsson <nilsson@fastmail.com>

Sort defines.

2016-03-20

2016-03-20 21:46:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [BSON]: No need for <stdint.h>.

The types and consgtants from <stdint.h> aren't used,
so there's no need to include it.

Fixes compilation issues on some older platforms (eg Solaris 8
and NT with VC 2008 and earlier).

2016-02-11

2016-02-11 20:04:06 by Martin Nilsson <nilsson@fastmail.com>

Everyone have INT64 in C99-land.

2016-01-10

2016-01-10 20:22:12 by Martin Nilsson <nilsson@fastmail.com>

stdint.h is part of C99

2015-10-14

2015-10-14 20:14:59 by Martin Nilsson <nilsson@fastmail.com>

Normalized CMOD headers.

2015-08-22

2015-08-22 18:35:10 by Per Hedbor <ph@opera.com>

Static:ified a lot of strings.

This is more or less all instances of push_text(static data here).

Left to do: make_shared_X_string(static data here). :)

2015-08-18

2015-08-18 18:07:49 by Per Hedbor <ph@opera.com>

Static:ified a lot of strings.

This is more or less all instances of push_text(static data here).

Left to do: make_shared_X_string(static data here). :)

2015-05-25

2015-05-25 15:33:02 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-03-19

2015-03-19 16:16:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Use INT8 instead of int8_t.

This is needed on platforms that don't have int8_t.

Fixes some compilation issues on NT.

2015-03-19 16:14:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Use INT8 instead of int8_t.

This is needed on platforms that don't have int8_t.

Fixes some compilation issues on NT.

2015-03-19 10:53:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Survive platforms without INT64.

2015-03-19 10:44:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Survive platforms without INT64.

2015-03-19 10:43:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Cleanup lookup_svalue() somewhat.

Fixes fatal about using a freed svalue.

2015-03-19 10:41:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Cleanup lookup_svalue() somewhat.

Fixes fatal about using a freed svalue.

2015-03-19 10:40:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Use INT{32,64} instead of int{32,64}_t.

This is needed on platforms that don't have int{32,64}_t.

Fixes some compilation issues on NT.

2015-03-19 10:37:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

BSON: Use INT{32,64} instead of int{32,64}_t.

This is needed on platforms that don't have int{32,64}_t.

Fixes some compilation issues on NT.

2015-02-12

2015-02-12 12:46:07 by Martin Nilsson <nilsson@opera.com>

Some more simplifications.

2015-02-12 11:55:29 by Martin Nilsson <nilsson@opera.com>

A few simplifications.

2015-02-12 08:20:55 by Marcus Agehall <agehall@gmail.com>

Added UTF-8 decoding of indices in BSON structures.

2015-02-12 08:19:35 by Marcus Agehall <agehall@gmail.com>

Added UTF-8 decoding of indices in BSON structures.

2014-12-04

2014-12-04 19:26:28 by Arne Goedeke <el@laramies.com>

Standards.BSON: use %-8F format

2014-12-04 19:25:51 by Arne Goedeke <el@laramies.com>

Standards.BSON: use TYPEOF for compat with ATOMIC_SVALUE

2014-12-04 19:25:51 by Arne Goedeke <el@laramies.com>

Standards.BSON: keep intermediate values on the stack

By keeping intermediate values on the pike stack, they are freed
automatically when a parsing error occurs.

2014-12-04 19:25:51 by Arne Goedeke <el@laramies.com>

Standards.BSON: check for stack overflow

2014-12-04 19:25:50 by Arne Goedeke <el@laramies.com>

Standards.BSON: do not use c++ comments

2014-12-04 19:25:50 by Arne Goedeke <el@laramies.com>

Standards.BSON: use ref_push_* when pushing cached values

The push_* macros do not add a reference.

2014-12-04 19:25:47 by Arne Goedeke <el@laramies.com>

BSON: missing bounds check

2014-12-04 19:25:32 by Arne Goedeke <el@laramies.com>

BSON: insufficient out of bounds check

2014-12-04 19:25:08 by Tobias S. Josefowitz <tobij@tobij.de>

optimization: use new unaligned helpers

2014-12-04 19:25:04 by Marcus Comstedt <marcus@mc.pp.se>

BSON: Remove unaligned memory accesses

2014-12-04 19:24:28 by Bill Welliver <bill@welliver.org>

Build: check for headers that prevent building BSON on Windows

2014-12-04 19:24:01 by Marcus Comstedt <marcus@mc.pp.se>

Reduce number of f_decode in the global namespace...

2014-12-04 19:23:59 by Martin Nilsson <nilsson@opera.com>

Remove stray placeholder autodoc.

2014-12-04 19:23:58 by Martin Nilsson <nilsson@opera.com>

Fixed exit leak

2014-12-04 19:23:56 by Arne Goedeke <el@laramies.com>

BSON: fixed missing reference

2014-12-04 19:23:52 by Bill Welliver <bill@welliver.org>

Standards.BSON: accelerated array handling sorts properly.

2014-12-04 19:23:52 by Bill Welliver <bill@welliver.org>

Standards.BSON: add C accelerated BSON parsing

2014-05-23

2014-05-23 19:48:31 by Arne Goedeke <el@laramies.com>

Standards.BSON: use %-8F format

2014-05-12

2014-05-12 19:46:27 by Arne Goedeke <el@laramies.com>

Standards.BSON: use %-8F format

2014-05-10

2014-05-10 09:07:05 by Arne Goedeke <el@laramies.com>

Standards.BSON: use %-8F format

2014-04-17

2014-04-17 20:31:23 by Arne Goedeke <el@laramies.com>

Standards.BSON: use %-8F format

2014-04-17 20:30:34 by Arne Goedeke <el@laramies.com>

Standards.BSON: use %-8F format

2014-04-16

2014-04-16 10:40:27 by Arne Goedeke <el@laramies.com>

Standards.BSON: check for stack overflow

2014-04-16 10:40:27 by Arne Goedeke <el@laramies.com>

Standards.BSON: keep intermediate values on the stack

By keeping intermediate values on the pike stack, they are freed
automatically when a parsing error occurs.

2014-04-16 10:40:27 by Arne Goedeke <el@laramies.com>

Standards.BSON: use TYPEOF for compat with ATOMIC_SVALUE

2014-04-15

2014-04-15 18:46:23 by Arne Goedeke <el@laramies.com>

Standards.BSON: do not use c++ comments

2014-04-15 18:27:52 by Arne Goedeke <el@laramies.com>

Standards.BSON: use ref_push_* when pushing cached values

The push_* macros do not add a reference.

2014-04-09

2014-04-09 22:16:34 by Arne Goedeke <el@laramies.com>

BSON: missing bounds check

2014-03-12

2014-03-12 20:47:24 by Arne Goedeke <el@laramies.com>

BSON: insufficient out of bounds check

2014-01-12

2014-01-12 02:04:38 by Tobias S. Josefowitz <tobij@tobij.de>

optimization: use new unaligned helpers

2014-01-05

2014-01-05 15:14:13 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch '8.0' into gobject-introspection

2014-01-04

2014-01-04 22:24:18 by Marcus Comstedt <marcus@mc.pp.se>

BSON: Remove unaligned memory accesses

2013-11-03

2013-11-03 11:14:41 by Bill Welliver <bill@welliver.org>

Build: check for headers that prevent building BSON on Windows

2013-08-14

2013-08-14 10:41:46 by Marcus Comstedt <marcus@mc.pp.se>

Reduce number of f_decode in the global namespace...

2013-08-12

2013-08-12 20:28:23 by Martin Nilsson <nilsson@opera.com>

Remove stray placeholder autodoc.

2013-08-05

2013-08-05 14:04:24 by Martin Nilsson <nilsson@opera.com>

Fixed exit leak

2013-08-01

2013-08-01 17:02:42 by Arne Goedeke <el@laramies.com>

BSON: fixed missing reference

2013-07-07

2013-07-07 16:54:35 by Bill Welliver <bill@welliver.org>

Standards.BSON: accelerated array handling sorts properly.

2013-07-07 16:54:01 by Bill Welliver <bill@welliver.org>

Standards.BSON: add C accelerated BSON parsing