ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1965] playing around with lua dissector

Date: Tue, 2 Sep 2008 02:06:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1965


Balint Reczey <balint.reczey@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2207|                            |review_for_checkin?
               Flag|                            |




--- Comment #1 from Balint Reczey <balint.reczey@xxxxxxxxxxxx>  2008-09-02 02:06:07 PDT ---
Created an attachment (id=2207)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2207)
fixes the append-prepend problem, zeroes new bytes and warns user if the new
size is invalid

Testcase:

ba=ByteArray.new("02 ")
ba:append(ByteArray.new("03"))
ba:prepend(ByteArray.new("01"))
ba:set_size(6)
warn(ba)


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