Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next Version #288

Merged
merged 43 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d2d2967
add settings for tap / track_pos hash checking
SciLor Jan 6, 2025
b91cd5d
set pointer to NULL after free
SciLor Jan 10, 2025
e396fb5
replace free with osFreeMem
SciLor Jan 10, 2025
acfcf21
fix pointers of dirs
SciLor Jan 10, 2025
04c12cc
remove experiment
SciLor Jan 10, 2025
482a316
seperate postData parser and increase size
SciLor Jan 16, 2025
a0228dc
Update frontend (make web)
SciLor Jan 20, 2025
0f291cc
Update frontend (make web)
SciLor Feb 9, 2025
0e57d02
Fix dockerfiles AS keyword
SciLor Feb 9, 2025
6c98aa6
Add field2/field6 of the toniebox settings with unknown functionality
SciLor Feb 13, 2025
218d098
always set Toniebox settings, if cloud not enabled or had error
SciLor Feb 13, 2025
9d5ba3d
fix logic error for override + freshnessCheck
SciLor Feb 13, 2025
1349164
fix wrong default values for the freshnesscheck and field 2 & 6
SciLor Feb 13, 2025
3a94c77
added a HTTP test script
g3gg0 Feb 13, 2025
3facde8
allow more or less infinite requests per HTTP connection
g3gg0 Feb 13, 2025
f258109
fix wrong default for fields and add flag to enable override for unkn…
SciLor Feb 14, 2025
5975695
Log freshnessCheck data
SciLor Feb 14, 2025
2543e5f
make use of the overrideFields variable
SciLor Feb 14, 2025
d42fbd3
Add some more security scanners
SciLor Feb 24, 2025
a83b292
use ubuntu latest for build
SciLor Feb 24, 2025
3b909fc
use LLU for time in 32 bit ubuntu
SciLor Feb 24, 2025
5ca4625
workaround aarch64 AddressSanitizer lib CHECK error
SciLor Feb 24, 2025
7323f33
add security hard lock to lock access even after restarts
SciLor Feb 25, 2025
2dd5136
save used domains sent via rtnl
SciLor Feb 25, 2025
b2f6fc4
fix typo
SciLor Feb 25, 2025
5f25de7
build on 22.04, run on latest (24.04)
SciLor Feb 26, 2025
21020d1
try rolling for Ubuntu docker
SciLor Feb 26, 2025
212f32e
roll back to ubuntu latest
SciLor Feb 26, 2025
6e63163
try to enforce -DSANITIZER_CAN_USE_ALLOCATOR64=0
SciLor Feb 26, 2025
0473c49
remove not working aarch64 fix
SciLor Feb 26, 2025
e4896b4
Disable keep-alive for boxine upstream
SciLor Feb 26, 2025
2c2b87d
add hostname_old parameter for esp32 firmware patch
SciLor Feb 26, 2025
b7c0510
add hide flag to dirs, too
SciLor Feb 26, 2025
4056ebc
add some debug echo output to docker entry, cleanup
SciLor Feb 27, 2025
6ba0b8c
add strace option
SciLor Feb 27, 2025
361abae
Implement tbs_tag_removed for CC3200 + ESP32 (#321)
timehlers Mar 2, 2025
bf0fba1
fix potential File Descriptor Leak
SciLor Mar 2, 2025
773c97a
Merge branch 'develop' of https://github.com/toniebox-reverse-enginee…
SciLor Mar 2, 2025
55994b1
Disable "linux/arm64/v8" as this fails with latest ubuntu - debian st…
SciLor Mar 3, 2025
cb38207
Update frontend (make web)
SciLor Mar 3, 2025
fdce6c0
Update frontend (make web)
SciLor Mar 3, 2025
f64d936
Add "File may be corrupted!" to sha1 diff error
SciLor Mar 5, 2025
f13703a
Merge branch 'develop' of https://github.com/toniebox-reverse-enginee…
SciLor Mar 5, 2025
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
Prev Previous commit
Next Next commit
Add "File may be corrupted!" to sha1 diff error
  • Loading branch information
SciLor committed Mar 5, 2025
commit f64d9367555c653240cc463682b71f0ff5197978
5 changes: 3 additions & 2 deletions src/handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ void setTonieboxSettings(TonieFreshnessCheckResponse *freshResp, settings_t *set
freshResp->slap_en = settings->toniebox.slap_enabled;
freshResp->slap_dir = settings->toniebox.slap_back_left;
freshResp->led = settings->toniebox.led;
if (settings->toniebox.overrideFields) {
if (settings->toniebox.overrideFields)
{
freshResp->field2 = settings->toniebox.field2;
freshResp->field6 = settings->toniebox.field6;
}
Expand Down Expand Up @@ -612,7 +613,7 @@ void readTrackPositions(tonie_info_t *tonieInfo, FsFile *file)
{
if (!isValidTaf(tonieInfo->contentPath, true))
{
TRACE_ERROR("SHA1 not valid or length different for TAF %s\r\n", tonieInfo->contentPath);
TRACE_ERROR("SHA1 not valid or length different for TAF %s. File may be corrupted!\r\n", tonieInfo->contentPath);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/toniefile.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ error_t toniefile_close(toniefile_t *ctx)

if (!isValidTaf(ctx->fullPath, true))
{
TRACE_ERROR("SHA1 not valid or length different for TAF %s\r\n", ctx->fullPath);
TRACE_ERROR("SHA1 not valid or length different for TAF %s. File may be corrupted!\r\n", ctx->fullPath);
}

osFreeMem(ctx->taf.sha1_hash.data);
Expand Down