aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2020-06-23 10:30:00 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2020-06-23 10:30:00 +0300
commit4502555fd3a11d2618e58c2053413b2ffcd9e59a (patch)
tree2bd9d56f961d8f937111660b4cbbf4207474899c
parent84265e68619921b6df9c9e9a75a45bd50718c9cf (diff)
downloadnanopb-c-4502555fd3a11d2618e58c2053413b2ffcd9e59a.tar.gz
Publishing nanopb-0.3.9.6
-rw-r--r--AUTHORS.txt3
-rw-r--r--CHANGELOG.txt6
-rw-r--r--CMakeLists.txt2
-rw-r--r--extra/poetry/pyproject.toml2
-rwxr-xr-xgenerator/nanopb_generator.py2
-rw-r--r--library.json2
-rw-r--r--pb.h2
7 files changed, 13 insertions, 6 deletions
diff --git a/AUTHORS.txt b/AUTHORS.txt
index 4fd600b..707faaa 100644
--- a/AUTHORS.txt
+++ b/AUTHORS.txt
@@ -52,4 +52,5 @@ Michal Rostecki <mrostecki@suse.de>
Pei Wang <wangpei10@baidu.com>
Noah Pendleton <2538614+noahp@users.noreply.github.com>
Pavol Rusnak <pavol@rusnak.io>
-
+Franck <franck.sehedic@ledger.fr>
+Paul Beusterien <paulbeusterien@google.com>
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 3ce6e98..cea2be6 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,9 @@
+nanopb-0.3.9.6 (2020-06-xx)
+ Fix buffer overflow when encoding bytes with size set to 65535 (#547, GHSA-3p39-mfxg-hrq4)
+ Fix proto3 submessage improperly considered empty (#504)
+ Fix ImportError when using generator/protoc with Python 3
+ Add build rules for Swift package manager (#549)
+
nanopb-0.3.9.5 (2020-02-02)
Fix invalid free() after failed realloc() (GHSA-gcx3-7m76-287p)
Add workaround for avr-libc realloc() bug (#475)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fbe499e..3bad8cb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.12)
project(nanopb C)
-set(nanopb_VERSION_STRING nanopb-0.3.9.5)
+set(nanopb_VERSION_STRING nanopb-0.3.9.6)
set(nanopb_SOVERSION 0)
string(REPLACE "nanopb-" "" nanopb_VERSION ${nanopb_VERSION_STRING})
diff --git a/extra/poetry/pyproject.toml b/extra/poetry/pyproject.toml
index 56083ef..b5357b0 100644
--- a/extra/poetry/pyproject.toml
+++ b/extra/poetry/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nanopb"
-version = "0.3.9.5"
+version = "0.3.9.6"
description = "Nanopb is a small code-size Protocol Buffers implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system."
authors = ["Petteri Aimonen <jpa@npb.mail.kapsi.fi>"]
license = "Zlib"
diff --git a/generator/nanopb_generator.py b/generator/nanopb_generator.py
index 2d22c33..7cc51ea 100755
--- a/generator/nanopb_generator.py
+++ b/generator/nanopb_generator.py
@@ -3,7 +3,7 @@
from __future__ import unicode_literals
'''Generate header file for nanopb from a ProtoBuf FileDescriptorSet.'''
-nanopb_version = "nanopb-0.3.9.5"
+nanopb_version = "nanopb-0.3.9.6"
import sys
import re
diff --git a/library.json b/library.json
index 9d529e2..ca7324e 100644
--- a/library.json
+++ b/library.json
@@ -1,6 +1,6 @@
{
"name": "Nanopb",
- "version": "0.3.9.5",
+ "version": "0.3.9.6",
"keywords": "protocol buffers, protobuf, google",
"description": "Nanopb is a plain-C implementation of Google's Protocol Buffers data format. It is targeted at 32 bit microcontrollers, but is also fit for other embedded systems with tight (2-10 kB ROM, <1 kB RAM) memory constraints.",
"repository": {
diff --git a/pb.h b/pb.h
index 2c5868b..2ba6c63 100644
--- a/pb.h
+++ b/pb.h
@@ -51,7 +51,7 @@
/* Version of the nanopb library. Just in case you want to check it in
* your own program. */
-#define NANOPB_VERSION nanopb-0.3.9.5
+#define NANOPB_VERSION nanopb-0.3.9.6
/* Include all the system headers needed by nanopb. You will need the
* definitions of the following: