Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion class_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
DEBUG = 0

# The pytsk3 version.
VERSION = "20250729"
VERSION = "20250801"

# These functions are used to manage library memory.
FREE = "aff4_free"
Expand Down
4 changes: 2 additions & 2 deletions dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytsk3 (20250729-1) unstable; urgency=low
pytsk3 (20250801-1) unstable; urgency=low

* Auto-generated

-- Joachim Metz <joachim.metz@gmail.com> Tue, 29 Jul 2025 07:05:03 -0100
-- Joachim Metz <joachim.metz@gmail.com> Fri, 01 Aug 2025 07:51:42 -0100
24 changes: 24 additions & 0 deletions patches/sleuthkit-4.14.0-crc.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/tsk/base/crc.h b/tsk/base/crc.h
index f9f4617c3..f73426c36 100644
--- a/tsk/base/crc.h
+++ b/tsk/base/crc.h
@@ -91,7 +91,7 @@ Status : Copyright (C) Ross Williams, 1993. However, permission is
#ifndef DONE_STYLE

typedef unsigned long ulong;
-typedef unsigned bool;
+typedef unsigned crc_bool;
typedef unsigned char * p_ubyte_;

#ifndef TRUE
@@ -120,8 +120,8 @@ typedef struct
int cm_width; /* Parameter: Width in bits [8,32]. */
ulong cm_poly; /* Parameter: The algorithm's polynomial. */
ulong cm_init; /* Parameter: Initial register value. */
- bool cm_refin; /* Parameter: Reflect input bytes? */
- bool cm_refot; /* Parameter: Reflect output CRC? */
+ crc_bool cm_refin; /* Parameter: Reflect input bytes? */
+ crc_bool cm_refot; /* Parameter: Reflect output CRC? */
ulong cm_xorot; /* Parameter: XOR this to output CRC. */

ulong cm_reg; /* Context: Context during execution. */
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pytsk3
version = 20250729
version = 20250801
description = Python bindings for the SleuthKit
long_description = Python bindings for the SleuthKit
author = Michael Cohen
Expand Down
2 changes: 1 addition & 1 deletion talloc/replace.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#define _PUBLIC_ extern

typedef int bool;
typedef int talloc_bool;

#define true 1
#define false 0
Expand Down
10 changes: 5 additions & 5 deletions talloc/talloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ static void *autofree_context;
* catching use after free errors when valgrind is too slow
*/
static struct {
bool initialised;
bool enabled;
talloc_bool initialised;
talloc_bool enabled;
uint8_t fill_value;
} talloc_fill;

Expand Down Expand Up @@ -237,7 +237,7 @@ struct talloc_memlimit {
size_t cur_size;
};

static bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size);
static talloc_bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size);
static void talloc_memlimit_grow(struct talloc_memlimit *limit,
size_t size);
static void talloc_memlimit_shrink(struct talloc_memlimit *limit,
Expand Down Expand Up @@ -1582,7 +1582,7 @@ _PUBLIC_ void *_talloc_realloc(const void *context, void *ptr, size_t size, cons
{
struct talloc_chunk *tc;
void *new_ptr;
bool malloced = false;
talloc_bool malloced = false;
struct talloc_pool_hdr *pool_hdr = NULL;
size_t old_size = 0;
size_t new_size = 0;
Expand Down Expand Up @@ -2672,7 +2672,7 @@ static size_t _talloc_total_limit_size(const void *ptr,
old_limit, new_limit);
}

static bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size)
static talloc_bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size)
{
struct talloc_memlimit *l;

Expand Down
Loading