diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-15 11:53:15 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-15 11:56:26 +0200 |
commit | 88330288e66320df4b243ce77ca90bf3f91e66d7 (patch) | |
tree | 8c57550faf91c78fd6aef6d91ecbf6e963135dd3 /tests/units/test_0033_post_procedure_add.py | |
parent | 3f02d64104fede43074df2e0f229f514d24363fe (diff) |
client: fortify check for mandatory cmd json field in shell/output
Revisit 6cbe69e89e71 ("rest: add cmd to shell/output") to reject response with
no 'cmd' field, otherwise strdup() crashes when dealing with NULL string.
Set retcode to zero, otherwise this value remains uninitialized if no retcode
json field is provided by the client.
Diffstat (limited to 'tests/units/test_0033_post_procedure_add.py')
0 files changed, 0 insertions, 0 deletions