projectestac / moodle-mod_geogebra

Official repository for GeoGebra (https://www.geogebra.org) module for Moodle
https://moodle.org/plugins/view/mod_geogebra
GNU General Public License v3.0
16 stars 17 forks source link

Add a random value when building the name of a temp directory, to avoid possible concurrency issues #79

Closed frncesc closed 2 years ago

frncesc commented 2 years ago

Name of temp directory in geogebra_get_js_from_geogebra uses time() to generate random directory names. This can cause concurrency issues with multiple users are accessing at the same time.

Added a random value to the temporal directory name to minimize this risk.

toniginard commented 2 years ago

Integrated into master