Memory leak bug has been fixed. (Thanks to Hassan Hajji)
Buffer overrun bug has been fixed / Code cleanups.
Renamed a variable ("index") to avoid compile-time warning. (Thanks to Emmanuel Blot). Range check improved.
bug fix.
Removed magic comment.
Added an acknowledgement to Emmanuel Blot.
Merge branch '3.4'