8.4.1

Over the last ten months, our team has focused on a significant issue affecting application stability: memory management. Almost all (96%) of our problems stemmed from insufficient memory management.

With version 8.4.1, we aim for the enhanced stability that RunScore has never experienced. We want to thank the Beta Testing Team for their invaluable assistance with this release.

We have fixed 157 issues. Main changes:

  • Memory management modernization.
  • Runtime Validation rework based on user feedback.
  • Entries processing bug fixes and improvements.
  • Enter screen bug fixes and improvements.
  • New feature: results management.

The RunScore team has updated the release process according to the Microsoft Security Development Lifecycle (SDL). We have enabled the recommended SDL checks, which convert security-relevant warnings into errors and introduce additional secure code-generation features.

IMPORTANT NOTICE!

The SDL checks implement additional security measures at runtime to ensure the application does not perform actions outside the allocated memory space.

This is important because the LINE FEED command “appeared to work” in the previous version, but in reality, the code accessed memory outside the allocated range to read and process the argument’s value. Such issues can lead to significant problems for the program, including crashes, data corruption, and even security vulnerabilities. That is why SDL is so critical.

The correct usage would be LINE FEED 2

RunTime Validator Improvements

  • The RunScore was improved to help users detect errors in listing files.
  • We added the ability to detect if a command is missing an argument. If so, the default argument will be used: empty for strings, zero for numbers, and false for flags. The user will be informed about this.
  • We have replaced the pop-ups with a carousel gadget, which will briefly describe the encountered issue.
  • We added event logs containing detailed information about the issue and the event code.
  • We added the event code table in the help manual with instructions on how to solve the issue.
  • We introduced a runtime handler for processing the Entries.ini file. For instance, this handles cases when the race date is incorrectly formatted or when Age and Birthdate fields are absent.

Critical-priority issues

  • SDL issues: We have resolved all the security-related problems in the RunScore code, including those that could lead to buffer overflows or out-of-bounds access.
  • Command suggestion for file edit: After three key inputs, RunScore shows a box with matching commands. The problem arose when the Command Search feature tried to copy a 331-size vector into a 2-7-size vector, corrupting memory and causing unpredictable results.
  • Fixed the operations in Entries.DTA: The database file is shared and always open; however, not all the code was invoking the correct system calls designed for shared files.
  • Fixed auto-run and incremental upload: The functionality was not thread-safe, leading to unpredictable results.

High-priority bug fixes

  • Fixed the parameters handling that led to “Warning: cannot find the file.” The RunScore will not correctly process parameters with file path destinations.
  • Fixed the label printer destination. The printer controller disregards user instructions and uses file printing instead of the label printing functionality.
  • Fixed issues related to Server-Client interaction and connectivity.
  • The server will drop all connections with Clients if one is disconnected.
  • The client was not checking the send and receive TCP/IP function returns, leading to undefined behaviour.
  • The connectivity gadget was not in sync with the actual connection status. For example, it would show as connected when the status was disconnected.
  • Fixed the WinHttpReceiveResponse issue. The error was the same for all cases. The use will not have the correct error message.
  • Fixed the usage of the Announcer and Live Results screens. Memory leak.
  • Fixed the SMS LookUp issue. Buffer overflow.
  • Fixed the memory corruption for DB search on the Enter screen
  • Fixed the memory corruption for the command search on file editing
  • Fixed the Enrties.ini processing.
  • Fixed commands that were creating memory corruption.
  • Fixed 50 distinct BugSplat crash reports

Medium-priority bug fixes

  • Fixed printer margin commands. The label did not respect the user margin setting, and the default printer also failed to adhere, causing the printer controller to ignore user instructions.
  • Fix the Proper text formatting. Cases like 321 Pine St SE were not handled correctly.
  • We added 268 unit tests with 1435 assertions. Increasing the total to 689 unit tests with 3963 assertions. Unit testing is essential in software development to prevent and detect bugs early in the development cycle. It can ensure that each component behaves as expected.
  • Design screen bug fixes
  • Fixed the promo code retrieval from the RaceRoster.
  • Header title initialization used in print or online reports
  • Fixed the destination command handling.
  • Updated URN usage: the default is 0. If a user profile has a negative number, it will change to zero.
  • Fixed the team place command processing.

New features and improvements

  • Added ability to keep the results on DB clean; previously, the results were deleted on DB clean up. Users can now select one of the three options. Always keep, always delete, always ask.
  • Increased the SMS length from 80 to 160
  • Added the ability to select from available results in the “View Online Results” feature. This option is exclusively for the RaceRoster online system.

Deprecated functionality

  • The RunScore STMP (email) service has been deprecated in version 8.4.1. It is advisable to utilize Race Roster email campaigns with results or to consider SendGrid as an alternative. The functionality will be removed in 8.4.2.