Commit 3648ab62 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Missing null check

Spotted by Coverity Scan.
parent dddadb1a
......@@ -1518,6 +1518,7 @@ cmd_tx11obj(CMD_ARGS)
else if (CMD_IS("txreq") || CMD_IS("txresp")) {
if (AV_IS("-body")) {
AZ(body);
AN(av[1]);
REPLACE(body, av[1]);
AN(body);
bodylen = strlen(body);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment