Skip to content

12.0.2

Choose a tag to compare

@ownclouders ownclouders released this 17 Jun 11:43
· 1198 commits to master since this release
v12.0.2
4a81b66

Changelog for ownCloud Web 12.0.2 (2025-06-17)

Summary

  • Bugfix - Ensure uniform distribution when generating password: #12575

Details

  • Bugfix - Ensure uniform distribution when generating password: #12575

    Replaced the biased division-based random index generation with a method that
    ensures uniform distribution. This can be achieved by using a rejection sampling
    approach, similar to the one used earlier in the getRandomCharsFromSet
    function. Specifically, we will calculate a setLimit for the array length and
    discard random values that fall outside this range. This ensures that the modulo
    operation produces unbiased results.

    #12575