Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-9978

mod_expr random seed function not working for Windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.8, 1.9
    • Fix Version/s: None
    • Component/s: mod_expr
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      1918f29671e9f3d510b7314c12f344bed83ec521
    • GIT Master Revision hash::
      1918f29671e9f3d510b7314c12f344bed83ec521

      Description

      The randomize() function in mod_expr on the Windows platform does not have enough entropy.
      The patch fixes the seeding to be more disperate allowing the overflow logic to properly generate differing values on subsequent calls.
      NOTE: This expr library uses VERY weak random number generation techniques and should not be used for anything secure.

        Activity

        anthm Anthony Minessale II created issue -
        anthm Anthony Minessale II made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status New [ 1 ] Resolved [ 5 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        New New Resolved Resolved
        1m 4s 1 Anthony Minessale II 25/Jan/17 1:43 PM

          People

          • Assignee:
            anthm Anthony Minessale II
            Reporter:
            anthm Anthony Minessale II
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development