Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dc38cf3a19819bc010489e0f88a663a4f35f9aca
      
https://github.com/OpenSIPS/opensips/commit/dc38cf3a19819bc010489e0f88a663a4f35f9aca
  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.



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

Reply via email to