aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2021-03-22 14:50:07 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2021-03-22 14:50:07 +0200
commit7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77 (patch)
tree2fd58343493e27e1068aa3ecf290bcb4bc81a1f8
parent4a375a560651a86726e5283be85a9231fd0efe9c (diff)
downloadnanopb-c-7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77.tar.gz
Publishing nanopb-0.3.9.8
-rw-r--r--CHANGELOG.txt5
-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
6 files changed, 10 insertions, 5 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 6456812..44e952b 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,8 @@
+nanopb-0.3.9.8 (2021-03-22)
+ Fix invalid free() with oneof (#647, GHSA-7mv5-5mxh-qg88)
+ Don't generate lines with trailing spaces (#622)
+ Verify stream size before allocating string / bytes (#620)
+
nanopb-0.3.9.7 (2020-11-25)
Fix memory leak with oneofs and PB_ENABLE_MALLOC (#615, GHSA-85rr-4rh9-hhwh)
Fix unsigned enums not working correctly inside OneOf (#611)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f1853d..b16fbbf 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.7)
+set(nanopb_VERSION_STRING nanopb-0.3.9.8)
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 9831fd0..e3a5586 100644
--- a/extra/poetry/pyproject.toml
+++ b/extra/poetry/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nanopb"
-version = "0.3.9.7"
+version = "0.3.9.8"
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 b9743a4..b4f1d83 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.7"
+nanopb_version = "nanopb-0.3.9.8"
import sys
import re
diff --git a/library.json b/library.json
index 58db1b6..cbd1528 100644
--- a/library.json
+++ b/library.json
@@ -1,6 +1,6 @@
{
"name": "Nanopb",
- "version": "0.3.9.7",
+ "version": "0.3.9.8",
"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 929bfa1..236e894 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.7
+#define NANOPB_VERSION nanopb-0.3.9.8
/* Include all the system headers needed by nanopb. You will need the
* definitions of the following: