summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-06-05 18:12:24 +0200
committerJose M. Guisado <jguisado@soleta.eu>2023-06-07 18:32:33 +0200
commit92f83c0385281c1d1e7996fc76c071e782ea6939 (patch)
tree008a101f922032be39b7ba4e25573cd3603d5b37 /.gitignore
parent8cf02475ba7714ef7b4117ff2032fc90784e60f2 (diff)
client: harden og_resp_refresh
Harden refresh response logic. Check for necessary JSON fields inside the payload. Check if serial_number is null before calling strlen, prevent ogServer from a malformed refresh response with missing serial_number. Refresh uses legacy function actualizaConfiguracion that takes a long string with the computers configuration (serialno, partitions, disks, link speed and status). Check for an empty string before executing any legacy code inside actualizaConfiguracion.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions