aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2020-02-01 20:10:30 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2020-02-01 20:10:30 +0200
commitc046e36149ee09d9a2c5b8f020a6a2befd5e85bc (patch)
treeab1eb51d738ff98cb796adca72d2f54e8fda3575
parentaa9d0d1ca78d6adec3adfeecf3a706c7f9df81f2 (diff)
downloadnanopb-c-c046e36149ee09d9a2c5b8f020a6a2befd5e85bc.tar.gz
Publishing nanopb-0.3.9.5
-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 bf1c8fd..f8aedaa 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,8 @@
+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)
+ Fix empty submessages getting encoded in proto3 mode (#395)
+
nanopb-0.3.9.4 (2019-10-13)
Fix undefined behavior with bool fields (#434)
Fix enum min/max defines when values are not in order (#405)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9704d35..fbe499e 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.4)
+set(nanopb_VERSION_STRING nanopb-0.3.9.5)
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 31b0720..56083ef 100644
--- a/extra/poetry/pyproject.toml
+++ b/extra/poetry/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nanopb"
-version = "0.3.9.4.post3"
+version = "0.3.9.5"
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 526a74a..f236839 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.4"
+nanopb_version = "nanopb-0.3.9.5"
import sys
import re
diff --git a/library.json b/library.json
index 7bed92d..9d529e2 100644
--- a/library.json
+++ b/library.json
@@ -1,6 +1,6 @@
{
"name": "Nanopb",
- "version": "0.3.9.4",
+ "version": "0.3.9.5",
"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 fc0fe7a..2c5868b 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.4
+#define NANOPB_VERSION nanopb-0.3.9.5
/* Include all the system headers needed by nanopb. You will need the
* definitions of the following: