Skip to content

Commit 390f8c9

Browse files
v4.2.4
1 parent e5fe6c6 commit 390f8c9

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed

.versionbot/CHANGELOG.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
- commits:
2+
- subject: Fix fs.stat for large file sizes
3+
hash: e83874d1cbeedb3047cbcb8952878a65c9c972eb
4+
body: >
5+
The the size of an image was > ~4GB (max value that could be stored in a
6+
32-bit integer the stat function threw an error - there was a type
7+
mismatch between node and the c function that combined the upper and
8+
lower 32 bits of the image size that is stored in the inode.
9+
footer:
10+
Change-type: patch
11+
change-type: patch
12+
Signed-off-by: Ryan Cooke<ryan@balena.io>
13+
signed-off-by: Ryan Cooke<ryan@balena.io>
14+
author: Ryan Cooke
15+
version: 4.2.4
16+
title: ""
17+
date: 2025-02-20T17:53:02.994Z
118
- commits:
219
- subject: Remove repo config from flowzone.yml
320
hash: 51e3de3486f529f0de413da56aca83b8db25c032
@@ -458,11 +475,14 @@
458475
459476
In file included from ../src/node_ext2fs.cc:2:0:
460477
461-
../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
478+
../../nan/nan.h: In constructor
479+
'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
462480
463-
../../nan/nan.h:1081:101: error: no matching function for call to 'v8::String::WriteUtf8(v8::Isolate*, char*&, int, int, const int&)'
481+
../../nan/nan.h:1081:101: error: no matching function for call to
482+
'v8::String::WriteUtf8(v8::Isolate*, char*&, int, int, const int&)'
464483
465-
length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, static_cast<int>(len), 0, flags);
484+
length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_,
485+
static_cast<int>(len), 0, flags);
466486
467487
^
468488
@@ -472,7 +492,8 @@
472492
473493
from ../src/node_ext2fs.cc:2:
474494
475-
/root/.node-gyp/10.4.0/include/node/v8.h:2616:7: note: candidate: int v8::String::WriteUtf8(char*, int, int*, int) const
495+
/root/.node-gyp/10.4.0/include/node/v8.h:2616:7: note: candidate: int
496+
v8::String::WriteUtf8(char*, int, int*, int) const
476497
477498
```
478499
- version: 1.0.23

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
44
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
# v4.2.4
8+
## (2025-02-20)
9+
10+
* Fix fs.stat for large file sizes [Ryan Cooke]
11+
712
# v4.2.3
813
## (2023-12-19)
914

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ext2fs",
3-
"version": "4.2.3",
3+
"version": "4.2.4",
44
"description": "WASM bindings to libext2fs for cross-platform ext filesystem handling",
55
"author": "Balena Ltd. <hello@balena.io>",
66
"license": "Apache-2.0",
@@ -45,6 +45,6 @@
4545
"node": ">=16"
4646
},
4747
"versionist": {
48-
"publishedAt": "2023-12-19T21:59:31.236Z"
48+
"publishedAt": "2025-02-20T17:53:03.101Z"
4949
}
5050
}

0 commit comments

Comments
 (0)