Skip to content
Snippets Groups Projects
Commit ddd4d10b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix loop limit (system.stats.total_users != system.lastuser)

When looping to highest user number, use system.lastuser, not
system.stats.total_users.

This explains why not all userbases would be affected by the just-fixed
issue in js_user.c. If the total_users happens to equal lastuser, then
you would have hit the issue in js_user.c. If you had at least one
deleted or inactive user account, then system.stats.total_users would
be less than system.lastuser and your system would *not* have triggered
that bug.
parent 65e93897
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3048 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:09:45

avatar
Download artifacts

No artifacts found

Passed

00:11:24

avatar
Download artifacts

No artifacts found