A contribution for code with undefined behavior. Potentially a crash fix. https://github.com/secondlife/viewer/pull/5037 7.2.3.19375695301 P.S. Might be linux specific, in linux branch.