gen_echoserver: Fix use after free in my_rhandler()
CID: 1170467
This commit is contained in:
parent
4cf851713f
commit
cd6b5cb478
|
@ -60,7 +60,7 @@ static void my_rhandler(connection_t * cptr)
|
||||||
|
|
||||||
if (!my_read(cptr, buf))
|
if (!my_read(cptr, buf))
|
||||||
connection_close(cptr);
|
connection_close(cptr);
|
||||||
|
else
|
||||||
do_packet(cptr, buf);
|
do_packet(cptr, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue