Wireshark-commits: [Wireshark-commits] master 984e522: Fix possible buffer overflow in col_append_s

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 5 May 2014 03:58:43 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=984e52244f08d344a6979bf1405b3d730a388702
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

984e522 by Jakub Zawadzki (darkjames@xxxxxxxxxxxx):

    Fix possible buffer overflow in col_append_sep_fstr()
    
    After appending separator it might happen that len > max_len, in such case
    g_vsnprintf() will overflow the col_buf buffer.
    
    Change-Id: Ic5ff49d30e30509e835165c4cc7e72e31f92fd5f
    Reviewed-on: https://code.wireshark.org/review/1493
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  f13bbf2   Fast block allocator: make wmem_block_fast_hdr_t single linked list.
    adds  984e522   Fix possible buffer overflow in col_append_sep_fstr()


Summary of changes:
 epan/column-utils.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)