{"push_id":1269740269,"size":1,"distinct_size":1,"ref":"refs/heads/fix/noop-randomseed","head":"58e39e577bfe9cc5a6588933e42e0c5f67a388bb","before":"c880d05fc8ffb46c66809de6a6b1589efdb54147","commits":[{"sha":"58e39e577bfe9cc5a6588933e42e0c5f67a388bb","author":{"name":"Thibault Charbonnier","email":"d230ffc1143cf1206281f06f12307704560f33c5@me.com"},"message":"fix: patch math.randomseed() to prevent invalid calls\n\nPatch `math.random` to prevent it from being called by another context\nthan init_worker, and especially to prevent it from being called\nmultiple times. It is being patched very early in Kong's runtime so\nwe're sure no other module has time to cache the original `math.random`\nfunction.\n\n* implement a `globalpatches.lua` module for modifying `_G`.\n* seed in init_worker with `math.randomseed`","distinct":true,"url":"https://api.github.com/repos/Mashape/kong/commits/58e39e577bfe9cc5a6588933e42e0c5f67a388bb"}]}
{"actor":{"display_login":"thibaultcha"}}