[OpenSIPS-Devel] [OpenSIPS/opensips] 668971: db_sqlite: properly store BLOB values in DB

Răzvan Crainea noreply at github.com
Tue Oct 1 08:16:43 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 668971fa10f4d3168dc740287c9ebdabc095fec3
      https://github.com/OpenSIPS/opensips/commit/668971fa10f4d3168dc740287c9ebdabc095fec3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M modules/db_sqlite/val.c

  Log Message:
  -----------
  db_sqlite: properly store BLOB values in DB

Do not insert BLOB values as strings, as they might have non-printable
characters, which breaks the value when storing. Instead, store them as
a hex-string.

Many thanks to Eric Tamme from Five9 for reporting this bug!

(cherry picked from commit 3e89bcfa935803ee4d85ba19daf2cbe8ae2c342a)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list