Wireshark-bugs: [Wireshark-bugs] [Bug 5960] TvbRange_string(lua_State* L) call a wrong function
Date: Thu, 26 May 2011 19:57:01 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5960

--- Comment #1 from lijuanleebupt@xxxxxxxxx 2011-05-26 19:57:01 PDT ---
TvbRange_string(lua_State* L) use  lua_pushstring()  to return the result, that
is, it will return a zero terminated string from a TvbRange, but not the string
from the whole TvbRange.
so  TvbRange_string(lua_State* L)  and TvbRange_stringz(lua_State* L) has no
difference now.
TvbRange_string(lua_State* L) should call  lua_pushlstring.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.