Xin LI 718d3b2852 As the comment says, close() frees the variable, record. So we obtain
the length by evaluating the value from the copy, cbuf instead.  This
fixes a crash caused by previous commit (use-after-free)

Submitted by:	Dimitry Andric <dimitry andric com>
Pointy hat to:	delphij
2009-05-14 23:09:33 +00:00
..
2008-10-22 21:56:57 +00:00
2007-02-11 18:14:49 +00:00
2009-03-04 01:01:26 +00:00
2009-03-04 01:01:26 +00:00
2009-05-07 13:49:48 +00:00
2008-10-23 15:32:06 +00:00
2008-03-13 10:26:17 +00:00
2008-03-13 10:25:30 +00:00
2007-01-20 08:24:02 +00:00
2009-05-07 13:49:48 +00:00
2009-01-28 15:21:38 +00:00
2009-05-07 13:49:48 +00:00
2009-05-07 13:49:48 +00:00
2009-05-07 13:49:48 +00:00
2007-10-30 15:26:20 +00:00