Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Release 1.6

Latest
Compare
Choose a tag to compare
@rhelmer rhelmer released this 09 May 00:06
· 41 commits to master since this release
52643ce

commit 52643ce
Author: Robert Helmer [email protected]
Date: Sun Apr 26 12:23:09 2020 -0700

upgrade Travis CI distro to Ubuntu Bionic (#86)

commit f72b2b2
Author: Henry Corrigan-Gibbs [email protected]
Date: Tue Apr 21 19:14:17 2020 +0200

Fix serialization bug in `prio/serial.c` (#81)

* In `serial_read_packet_client`, we should check that the type
of the incoming packet matches the type of the `PrioPacketClient`
passed into `serial_read_packet_client` and fail if the two don't
match.

* Add a test for this behavior.

Co-authored-by: Robert Helmer <[email protected]>

commit ed4142a
Author: Christian Holler (:decoder) [email protected]
Date: Tue Apr 21 19:07:56 2020 +0200

Fix memory leak in serial_read_packet_client (#80)

* Fix memory leak in serial_read_packet_client

* Fixing more memory leaks in `prio/serial.c`

The `UP_CHECK` macro just returned on failure, rather than
jumping to the `cleanup` label. This commit replaces `UP_CHECK`
with `UP_CHECKC`, which jumps to `cleanup` on failure.

* Replace `P_CHECK` with `P_CHECKC` in prio/serial.c

Every function in `prio/serial.c` has a `cleanup` label, but
much of the code in these functions won't actually jump to
cleanup on failure. As far as I can tell, this doesn't cause
any additional memory leaks, but in case someone adds cleanup
code at the `cleanup` label in the future, it seems prudent to
always jump to `cleanup` on failure.

Co-authored-by: Henry Corrigan-Gibbs <[email protected]>

commit 6efb51c
Author: tititiou36 [email protected]
Date: Sun Apr 19 12:15:31 2020 +0200

No need to memset memory allocated with calloc

commit 9a30c74
Author: Gabriel Ganne [email protected]
Date: Wed Aug 7 16:12:05 2019 +0200

remove unnecessary runtime call to strlen()

PRIO_TAG is a fixed-size string, we can use sizeof to the same effect.
This also has the nice side-effect of removing a variable-length-array
since AAD_LEN could not be known at compile-time

commit 854d87d
Author: Anthony Miyaguchi [email protected]
Date: Tue Apr 30 14:44:59 2019 -0700

Update SConstruct to modify include path based on sys.platform (#74)

* Format SConstruct with black

* Update SConstruct to modify include path based on OS

* Remove unneeded exports

commit 662191a
Author: Henry Corrigan-Gibbs [email protected]
Date: Sat Mar 30 08:57:09 2019 -0700

Remove comment in CODE_OF_CONDUCT.md

commit bbca24f
Author: Mozilla-GitHub-Standards [email protected]
Date: Fri Mar 29 23:57:03 2019 -0700

Add Mozilla Code of Conduct file

Fixes #72.

_(Message COC002)_