Branch: refs/heads/3.5 Home: https://github.com/OpenSIPS/opensips Commit: b3935191962bd745afe420fe85b256a146050c96 https://github.com/OpenSIPS/opensips/commit/b3935191962bd745afe420fe85b256a146050c96 Author: Razvan Crainea <raz...@opensips.org> Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: remove test key from cache Since this key is stored in a non-base64 format, when the hash is being iterated, this value breaks the convesion - and when trying to `base64_decode("cdb_test_val")`, this results in a larger value than the expected integer, resulting in a stack crash. Removing the key from the hash fixes this crash, as all keys remain are properly base64 encoded. Moreover, if the key is not properly encoded, we should make sure that its decode does not overwrite the stack frame. (cherry picked from commit dc38cf3a19819bc010489e0f88a663a4f35f9aca) To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel