Files
TrinityCore/src/shared
megamage e954904e6d [8378] Use exceptions instead of explicit size checking for each packet Author: arrai
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
    could crash due to the asserts in ByteBuffer.h. That was exploitable by
    malicious players.
    Furthermore, there were duplicate checks: Additionally to
    CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
    on not exceeding the packet boundaries - just to crash the server for
    sure in such a case.
    To prevent memory leaks or other undesirable states, please read in
    every handler all variables _before_ doing any concrete handling.

--HG--
branch : trunk
2009-08-19 16:26:22 -05:00
..
2009-06-18 19:27:17 -05:00
2009-02-18 11:36:19 -06:00
2009-02-18 11:36:19 -06:00
2009-02-18 11:36:19 -06:00
2009-07-12 17:55:57 +08:00
2009-02-18 11:36:19 -06:00
2009-03-08 19:04:29 +01:00
2009-02-18 11:36:19 -06:00
2009-02-18 11:36:19 -06:00