Repository navigation
ReGaHss: update binaries to R1.00.0388.0265 - #206
Merged
Merged
Conversation
Changes of ReGaHss R1.00.0388.0265 (src/ReGaHss/ChangeLog):
2026-10-16 Jens Maus <mail@jens-maus.de>
* fix ReGaHss crashing (SIGSEGV) if a script created a very long string,
e.g. by doubling a string in a loop ('a = a # a;'): if allocating the
memory of a string failed, the string was left without buffer and the
next access crashed. A string now keeps its current buffer and contents
if allocating a larger one fails. Furthermore, strings created by the
concatenation operator '#' and by .Replace() are limited to a length of
32 MiB and the output of a script (Write(), WriteLine(), ...) to 32 MiB
per request, so that a script cannot use up all memory: exceeding a
limit (or a failed allocation) now ends the script with a script
runtime error. .Replace() now also builds its result at once instead of
moving the rest of the string for each occurrence (which took very
long for many occurrences) and leaves the string unchanged for an empty
search string (it never ended for it, e.g. "abc".Replace("", "x")).
(cf. OpenCCU/OpenCCU#1420)
* fix the error page of the web server (e.g. "Sitzung ungültig oder
abgelaufen!" for an invalid session) showing its message and link on
the same line when embedded into the WebUI: they were output as two
paragraphs, which the WebUI does not display on separate lines. They are
now output in one paragraph separated by a line break, and the link is
omitted if the error page has none.
(cf. OpenCCU/OpenCCU#1598)
* fix programs not reacting to an update of a device datapoint or system
variable although their condition was met: the conditions of programs
are evaluated asynchronously, but used the current value of the
triggering datapoint instead of the value of the update. If the
datapoint had been updated again meanwhile (e.g. by the next event of
a system.multicall, like TIMER_GET of a CUxD timer, or by a script
setting a system variable twice), the condition was evaluated with the
newer value. The value of the triggering update is now used for the
triggering datapoint, all other datapoints of the conditions are still
evaluated with their current value.
(cf. OpenCCU/OpenCCU#1734)
(cf. OpenCCU/OpenCCU#1278)
* fix URL encoded characters in the URL parameters of remote script
calls (e.g. /x.exe?v=dom.GetObject('SV').State('A%26B')) and pages:
the URL was decoded before it was split into its parameters and then
decoded a second time, so that an encoded '&' (%26, but also %2526)
split the parameter, an encoded '+' (%2B) became a space and a '%' not
followed by two hex digits (e.g. "50%25x" or "%4'") removed parts of
the parameter. The parameters are now split first and each parameter
is decoded once, so that %26, %2B and %25 result in '&', '+' and '%'.
A '&' that is not encoded still separates the parameters (as defined
for URLs), a '+' still results in a space.
(cf. OpenCCU/OpenCCU#2216)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 6 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the ReGaHss binaries in
bin/<platform>/ReGaHssto version R1.00.0388.0265 for all platforms (aarch64-linux-gnu, arm-linux-gnueabihf, i686-linux-gnu, x86_64-linux-gnu) andsrc/ReGaHss/ChangeLogaccordingly.Changes
Entries of
src/ReGaHss/ChangeLogfor this release:References