#1445 Integer overflow in util.pposix.meminfo

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.11
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  1. Zash on

    What steps will reproduce the problem? 1. Allocate > 2GB memory (but <4GB) 2. print(pposix.meminfo().allocated) What is the expected output? Positive number What do you see instead? Negative number What version of the product are you using? On what operating system? 0.9.0 .. 0.11.3 on Linux Please provide any additional information below.

  2. Zash on

    Changes
    • tags Status-Started Milestone-0.11
    • owner Zash
  3. Zash on

    https://hg.prosody.im/trunk/rev/659b577f280c should move the wraparound from 2 GB to 4 GB

    Changes
    • tags Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.