zchunk.git
6 years agoBump to 1.1.3
Jonathan Dieter [Wed, 7 Aug 2019 21:30:14 +0000 (22:30 +0100)]
Bump to 1.1.3

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoFix coverity warnings
Jonathan Dieter [Wed, 7 Aug 2019 21:28:50 +0000 (22:28 +0100)]
Fix coverity warnings

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBuster has libzstd, so we don't need backports
Jonathan Dieter [Tue, 16 Jul 2019 18:30:42 +0000 (19:30 +0100)]
Buster has libzstd, so we don't need backports

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.1.2
Jonathan Dieter [Sun, 19 May 2019 17:02:01 +0000 (18:02 +0100)]
Bump to 1.1.2

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoMerge pull request #18 from F-i-f/open-create-permissions
Jonathan Dieter [Sun, 19 May 2019 16:58:33 +0000 (17:58 +0100)]
Merge pull request #18 from F-i-f/open-create-permissions

Open files with permissions 0666 and let umask(2) do its job.

6 years agoMerge pull request #17 from F-i-f/multipart-boundary-quotes
Jonathan Dieter [Sun, 19 May 2019 16:52:44 +0000 (17:52 +0100)]
Merge pull request #17 from F-i-f/multipart-boundary-quotes

Multipart boundary field can be quoted.

6 years agoOpen files with permissions 0666 and let umask(2) do its job.
Philippe Troin [Sun, 19 May 2019 05:08:11 +0000 (22:08 -0700)]
Open files with permissions 0666 and let umask(2) do its job.

When creating files, zchunk did not obey the users's umask(2) setting.

6 years agoMultipart boundary field can be quoted.
Philippe Troin [Sun, 19 May 2019 04:12:48 +0000 (21:12 -0700)]
Multipart boundary field can be quoted.

Reference: https://tools.ietf.org/html/rfc2046#section-5.1.1
According to RFC 2046, the boundary parameter in the Content-Type
header can optionally be quoted with double quotes.

Fix zchunk's boundary parsing so that double quotes are stripped when
found.

6 years agoUpdate README.md with links to some documentation
Jonathan Dieter [Sat, 11 May 2019 21:23:45 +0000 (22:23 +0100)]
Update README.md with links to some documentation

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.1.1
Jonathan Dieter [Mon, 15 Apr 2019 11:31:12 +0000 (12:31 +0100)]
Bump to 1.1.1

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoFix compilation for GCC 4.4.7
Jonathan Dieter [Mon, 15 Apr 2019 11:29:52 +0000 (12:29 +0100)]
Fix compilation for GCC 4.4.7

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.1.0
Jonathan Dieter [Sat, 23 Mar 2019 22:22:50 +0000 (22:22 +0000)]
Bump to 1.1.0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoSpeed up zchunk index operations
Jonathan Dieter [Fri, 22 Mar 2019 22:13:16 +0000 (22:13 +0000)]
Speed up zchunk index operations

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.0.4
Jonathan Dieter [Sat, 16 Mar 2019 22:56:34 +0000 (22:56 +0000)]
Bump to 1.0.4

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoLighttpd uses non-hex boundaries and reverses content-type and
Jonathan Dieter [Sat, 16 Mar 2019 22:53:16 +0000 (22:53 +0000)]
Lighttpd uses non-hex boundaries and reverses content-type and
content-range.  The patch allows zchunk to work with lighttpd.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.0.3
Jonathan Dieter [Thu, 24 Jan 2019 20:43:19 +0000 (20:43 +0000)]
Bump to 1.0.3

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoFix off by one error
Jonathan Dieter [Thu, 24 Jan 2019 20:40:48 +0000 (20:40 +0000)]
Fix off by one error

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoFix memory leak and off-by-one allocation error
Jonathan Dieter [Thu, 24 Jan 2019 19:44:06 +0000 (19:44 +0000)]
Fix memory leak and off-by-one allocation error

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoFix some small bugs found by Coverity
Jonathan Dieter [Sat, 29 Dec 2018 12:25:44 +0000 (12:25 +0000)]
Fix some small bugs found by Coverity

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.0.2
Jonathan Dieter [Fri, 28 Dec 2018 22:15:27 +0000 (22:15 +0000)]
Bump to 1.0.2

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoFix bug when comparing chunks and add test case.
Jonathan Dieter [Fri, 28 Dec 2018 22:13:41 +0000 (22:13 +0000)]
Fix bug when comparing chunks and add test case.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.0.1
Jonathan Dieter [Fri, 28 Dec 2018 14:15:42 +0000 (14:15 +0000)]
Bump to 1.0.1

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoClean up hash when cleaning index
Jonathan Dieter [Fri, 28 Dec 2018 14:08:32 +0000 (14:08 +0000)]
Clean up hash when cleaning index

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoUse UThash for finding identical chunks
Jonathan Dieter [Fri, 28 Dec 2018 13:55:52 +0000 (13:55 +0000)]
Use UThash for finding identical chunks

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
6 years agoBump to 1.0.0. API/ABI stability is now guaranteed.
Jonathan Dieter [Sat, 22 Dec 2018 20:45:04 +0000 (20:45 +0000)]
Bump to 1.0.0.  API/ABI stability is now guaranteed.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.17
Jonathan Dieter [Sun, 9 Dec 2018 18:59:39 +0000 (18:59 +0000)]
Bump to 0.9.17

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoTurn off some compression tests for big-endian architectures because zstd
Jonathan Dieter [Sun, 9 Dec 2018 18:54:24 +0000 (18:54 +0000)]
Turn off some compression tests for big-endian architectures because zstd
isn't deterministic on them.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.16
Jonathan Dieter [Sat, 8 Dec 2018 22:21:56 +0000 (22:21 +0000)]
Bump to 0.9.16

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMissed a couple of checksums
Jonathan Dieter [Wed, 5 Dec 2018 21:16:03 +0000 (21:16 +0000)]
Missed a couple of checksums

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoChange default compression level to 9 (2 minutes to compress vs 15)
Jonathan Dieter [Wed, 5 Dec 2018 21:04:09 +0000 (21:04 +0000)]
Change default compression level to 9 (2 minutes to compress vs 15)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoReally make sure we initialize hash if it hasn't been initialized yet
Jonathan Dieter [Mon, 3 Dec 2018 20:40:44 +0000 (20:40 +0000)]
Really make sure we initialize hash if it hasn't been initialized yet

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake sure we initialize hash if it hasn't been initialized yet
Jonathan Dieter [Mon, 3 Dec 2018 20:32:28 +0000 (20:32 +0000)]
Make sure we initialize hash if it hasn't been initialized yet

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoWe can't currently export generated dictionaries to stdout
Jonathan Dieter [Sun, 2 Dec 2018 22:33:02 +0000 (22:33 +0000)]
We can't currently export generated dictionaries to stdout

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd new executable to build optimal dictionary for a zchunk file
Jonathan Dieter [Sun, 2 Dec 2018 22:29:26 +0000 (22:29 +0000)]
Add new executable to build optimal dictionary for a zchunk file

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd functions to get chunk number and get chunk by number
Jonathan Dieter [Sun, 2 Dec 2018 17:38:17 +0000 (17:38 +0000)]
Add functions to get chunk number and get chunk by number

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd argument to unzck to extract dictionary
Jonathan Dieter [Sat, 1 Dec 2018 22:19:44 +0000 (22:19 +0000)]
Add argument to unzck to extract dictionary

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd functions to extract a single chunk
Jonathan Dieter [Sat, 1 Dec 2018 22:19:12 +0000 (22:19 +0000)]
Add functions to extract a single chunk

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix memory leak and error when closing after error
Jonathan Dieter [Sat, 1 Dec 2018 17:30:30 +0000 (17:30 +0000)]
Fix memory leak and error when closing after error

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd new checksum types and make clear that data excluded from the signature
Jonathan Dieter [Mon, 19 Nov 2018 21:59:19 +0000 (21:59 +0000)]
Add new checksum types and make clear that data excluded from the signature
should be omitted, not zero-filled.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd zchunk image preparation Jenkinsfile
Jonathan Dieter [Wed, 14 Nov 2018 23:04:04 +0000 (23:04 +0000)]
Add zchunk image preparation Jenkinsfile

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate checkout to be generic
Jonathan Dieter [Wed, 14 Nov 2018 22:50:06 +0000 (22:50 +0000)]
Update checkout to be generic

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd Jenkinsfile
Jonathan Dieter [Wed, 14 Nov 2018 22:46:43 +0000 (22:46 +0000)]
Add Jenkinsfile

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd test to build instructions
Jonathan Dieter [Wed, 14 Nov 2018 22:42:08 +0000 (22:42 +0000)]
Add test to build instructions

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSwitch up testing to allow separation of image creation and building
Jonathan Dieter [Wed, 14 Nov 2018 22:16:33 +0000 (22:16 +0000)]
Switch up testing to allow separation of image creation and building

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>:
7 years agoDisable building tests when building for coverity
Jonathan Dieter [Tue, 13 Nov 2018 14:09:43 +0000 (14:09 +0000)]
Disable building tests when building for coverity

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.15
Jonathan Dieter [Tue, 13 Nov 2018 13:58:16 +0000 (13:58 +0000)]
Bump to 0.9.15

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate tests to work with optional elements rather than optional flags
Jonathan Dieter [Tue, 13 Nov 2018 13:56:18 +0000 (13:56 +0000)]
Update tests to work with optional elements rather than optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSwitch from optional flags to optional elements
Jonathan Dieter [Tue, 13 Nov 2018 13:32:38 +0000 (13:32 +0000)]
Switch from optional flags to optional elements

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRename optional flags to optional elements and separate records for easier
Jonathan Dieter [Sat, 3 Nov 2018 00:08:16 +0000 (00:08 +0000)]
Rename optional flags to optional elements and separate records for easier
reading of multiple optional elements.  This still needs to be implemented
in code.

Note that this is a format change, allowed only because no optional flags/
elements have been defined yet.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.14
Jonathan Dieter [Thu, 1 Nov 2018 19:31:53 +0000 (19:31 +0000)]
Bump to 0.9.14

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoHandle non-hex characters passed to zck_set_soption()
Jonathan Dieter [Thu, 1 Nov 2018 11:28:26 +0000 (11:28 +0000)]
Handle non-hex characters passed to zck_set_soption()

Also, add tests to check that non-hex characters are handled correctly

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMerge pull request #10 from caljorden/master
Jonathan Dieter [Thu, 1 Nov 2018 09:57:10 +0000 (09:57 +0000)]
Merge pull request #10 from caljorden/master

Enable build with static library for zck

7 years agoEnable build with static library for zck.
Caleb Jorden [Thu, 1 Nov 2018 08:05:53 +0000 (13:35 +0530)]
Enable build with static library for zck.

Very small change in Meson config to allow zck to build
with a static library instead of just a dynamic one.

To use, run "meson --default-library=static build"

The resulting binaries should now be statically linked
with zck (resuilting in fewer dependencies).

7 years agoCoverity doesn't like security problems in tests, and I can't get it to
Jonathan Dieter [Wed, 31 Oct 2018 21:21:58 +0000 (21:21 +0000)]
Coverity doesn't like security problems in tests, and I can't get it to
ignore them, so we'll "fix" the security problems.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoHandle memory leaks when version() is shown. This is incredibly ugly.
Jonathan Dieter [Mon, 8 Oct 2018 16:35:21 +0000 (17:35 +0100)]
Handle memory leaks when version() is shown.  This is incredibly ugly.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoConvert shacheck to c to aid in finding memory leaks (bash is horribly
Jonathan Dieter [Mon, 8 Oct 2018 15:22:11 +0000 (16:22 +0100)]
Convert shacheck to c to aid in finding memory leaks (bash is horribly
leaky)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.13
Jonathan Dieter [Mon, 8 Oct 2018 13:53:06 +0000 (14:53 +0100)]
Bump to 0.9.13

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate tests for zstd-1.3.6
Jonathan Dieter [Mon, 8 Oct 2018 13:51:31 +0000 (14:51 +0100)]
Update tests for zstd-1.3.6

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.12
Jonathan Dieter [Mon, 8 Oct 2018 13:28:14 +0000 (14:28 +0100)]
Bump to 0.9.12

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix empty.optflags.zck
Jonathan Dieter [Mon, 8 Oct 2018 13:25:36 +0000 (14:25 +0100)]
Fix empty.optflags.zck

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoNew test to check whether decompressing unknown optional flags works
Jonathan Dieter [Mon, 8 Oct 2018 13:19:45 +0000 (14:19 +0100)]
New test to check whether decompressing unknown optional flags works

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd new empty zchunk file with optional flags to tests
Jonathan Dieter [Mon, 8 Oct 2018 13:05:50 +0000 (14:05 +0100)]
Add new empty zchunk file with optional flags to tests

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRevert "Code to create test zchunk file with optional flags"
Jonathan Dieter [Mon, 8 Oct 2018 13:05:10 +0000 (14:05 +0100)]
Revert "Code to create test zchunk file with optional flags"

This reverts commit cf4d76a6e3882cd3aea012d507020cd714bf563a.

7 years agoCode to create test zchunk file with optional flags
Jonathan Dieter [Mon, 8 Oct 2018 13:05:00 +0000 (14:05 +0100)]
Code to create test zchunk file with optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd support for optional flags
Jonathan Dieter [Mon, 8 Oct 2018 12:57:42 +0000 (13:57 +0100)]
Add support for optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd format definition for optional flags
Jonathan Dieter [Mon, 8 Oct 2018 12:42:44 +0000 (13:42 +0100)]
Add format definition for optional flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.11
Jonathan Dieter [Thu, 27 Sep 2018 13:17:14 +0000 (14:17 +0100)]
Bump to 0.9.11

7 years agozck may be NULL, so don't validate it
Jonathan Dieter [Thu, 27 Sep 2018 13:15:01 +0000 (14:15 +0100)]
zck may be NULL, so don't validate it

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove printf intended for testing
Jonathan Dieter [Fri, 21 Sep 2018 12:18:22 +0000 (13:18 +0100)]
Remove printf intended for testing

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoUpdate README.md to include Jenkins build status
Jonathan Dieter [Wed, 19 Sep 2018 12:39:11 +0000 (13:39 +0100)]
Update README.md to include Jenkins build status

7 years agoUpdate README.md to include Coverity badge
Jonathan Dieter [Tue, 18 Sep 2018 21:56:50 +0000 (22:56 +0100)]
Update README.md to include Coverity badge

7 years agoBump to 0.9.10
Jonathan Dieter [Tue, 18 Sep 2018 12:57:16 +0000 (13:57 +0100)]
Bump to 0.9.10

7 years agoCoverity doesn't like that tmpdir can be changed by an environmental
Jonathan Dieter [Tue, 18 Sep 2018 12:54:28 +0000 (13:54 +0100)]
Coverity doesn't like that tmpdir can be changed by an environmental
variable, so we're going to untaint it by manually doing an equivalent of
strcpy().
(Coverity ID: 310902)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd stdlib.h and stdbool.h to zck.h as we use types defined in them in the
Jonathan Dieter [Tue, 18 Sep 2018 12:53:05 +0000 (13:53 +0100)]
Add stdlib.h and stdbool.h to zck.h as we use types defined in them in the
header

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBuild tests when -Dcoverity=true is defined because they're now excluded
Jonathan Dieter [Tue, 18 Sep 2018 12:40:12 +0000 (13:40 +0100)]
Build tests when -Dcoverity=true is defined because they're now excluded
in coverity

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoWhen removing a range, pass next range to calling function, which makes
Jonathan Dieter [Tue, 18 Sep 2018 12:39:50 +0000 (13:39 +0100)]
When removing a range, pass next range to calling function, which makes
coverity happy
(Coverity ID: 310898)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.8
Jonathan Dieter [Fri, 14 Sep 2018 15:29:40 +0000 (16:29 +0100)]
Bump to 0.9.8

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove NULL check for variable that's guaranteed to be set
Jonathan Dieter [Fri, 14 Sep 2018 15:10:17 +0000 (16:10 +0100)]
Remove NULL check for variable that's guaranteed to be set
(Coverity ID: 320285)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoBump to 0.9.8
Jonathan Dieter [Fri, 14 Sep 2018 14:41:01 +0000 (15:41 +0100)]
Bump to 0.9.8

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix use after free
Jonathan Dieter [Fri, 14 Sep 2018 14:39:06 +0000 (15:39 +0100)]
Fix use after free
(Coverity ID: 310897)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix resource leak
Jonathan Dieter [Fri, 14 Sep 2018 14:33:59 +0000 (15:33 +0100)]
Fix resource leak
(Coverity ID: 310899)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix resource leak
Jonathan Dieter [Fri, 14 Sep 2018 14:31:34 +0000 (15:31 +0100)]
Fix resource leak
(Coverity ID: 310900)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix resource leak
Jonathan Dieter [Fri, 14 Sep 2018 14:28:57 +0000 (15:28 +0100)]
Fix resource leak
(Coverity ID: 310901)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoMake sure TMPDIR has a size limit
Jonathan Dieter [Fri, 14 Sep 2018 14:26:54 +0000 (15:26 +0100)]
Make sure TMPDIR has a size limit
(Coverity ID: 310902)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRefactor code so it's easier to read
Jonathan Dieter [Fri, 14 Sep 2018 14:04:09 +0000 (15:04 +0100)]
Refactor code so it's easier to read

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove logically dead code
Jonathan Dieter [Fri, 14 Sep 2018 14:00:56 +0000 (15:00 +0100)]
Remove logically dead code
(Coverity ID: 310904)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoCreate zrealloc and change zmalloc so they assert that memory is allocated.
Jonathan Dieter [Fri, 14 Sep 2018 13:51:17 +0000 (14:51 +0100)]
Create zrealloc and change zmalloc so they assert that memory is allocated.
Remove NULL checks after zmalloc and zrealloc.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAssert that blank malloc and calloc are allocated and remove error checking
Jonathan Dieter [Fri, 14 Sep 2018 13:45:04 +0000 (14:45 +0100)]
Assert that blank malloc and calloc are allocated and remove error checking

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix dereference before NULL
Jonathan Dieter [Fri, 14 Sep 2018 12:42:22 +0000 (13:42 +0100)]
Fix dereference before NULL
(Coverity ID: 310906)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix dict_size so it's signed
Jonathan Dieter [Fri, 14 Sep 2018 12:38:29 +0000 (13:38 +0100)]
Fix dict_size so it's signed
(Coverity ID: 310907)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix dereference before NULL check and add extra checks
Jonathan Dieter [Fri, 14 Sep 2018 12:35:09 +0000 (13:35 +0100)]
Fix dereference before NULL check and add extra checks
(Coverity ID: 310908)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix uninitialized variable
Jonathan Dieter [Fri, 14 Sep 2018 12:22:54 +0000 (13:22 +0100)]
Fix uninitialized variable
(Coverity ID: 310909)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix memory leak
Jonathan Dieter [Fri, 14 Sep 2018 12:21:58 +0000 (13:21 +0100)]
Fix memory leak
(Coverity ID: 310910)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoFix memory leak (and slowly start process of asserting zmalloc success)
Jonathan Dieter [Fri, 14 Sep 2018 12:21:35 +0000 (13:21 +0100)]
Fix memory leak (and slowly start process of asserting zmalloc success)
(Coverity ID: 310911

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoSet umask before running mkstemp because some UNIX flavors don't do this
Jonathan Dieter [Fri, 14 Sep 2018 12:11:46 +0000 (13:11 +0100)]
Set umask before running mkstemp because some UNIX flavors don't do this
automatically.
(Coverity ID: 310912)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoAdd coverity flag to fix builds for coverity
Jonathan Dieter [Fri, 14 Sep 2018 12:00:33 +0000 (13:00 +0100)]
Add coverity flag to fix builds for coverity

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoRemove srpm-specific code that was only there for testing purposes
Jonathan Dieter [Fri, 14 Sep 2018 11:59:52 +0000 (12:59 +0100)]
Remove srpm-specific code that was only there for testing purposes

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoEmpty commit to trigger automatic rebuild
Jonathan Dieter [Mon, 13 Aug 2018 15:46:50 +0000 (16:46 +0100)]
Empty commit to trigger automatic rebuild

7 years agoBump to 0.9.7
Jonathan Dieter [Fri, 10 Aug 2018 11:34:00 +0000 (13:34 +0200)]
Bump to 0.9.7

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
7 years agoClean up dictionary generation script
Jonathan Dieter [Thu, 9 Aug 2018 11:54:40 +0000 (13:54 +0200)]
Clean up dictionary generation script

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>