Wireshark-commits: [Wireshark-commits] master-1.10 a1e1017: Do not assume the data field of an addr
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 11 May 2015 23:42:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a1e1017bc144a568d84e81fb51741ed1cc9c308c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

a1e1017 by Guy Harris (guy@xxxxxxxxxxxx):

    Do not assume the data field of an address structure is an aligned pointer.
    
    There is *no* guarantee that it's aligned on a 4-byte boundary, and
    there is *no* guarantee that you can safely dereference an unaligned
    pointer.  See bug 11172 for a crash on Solaris/SPARC caused by those
    assumptions both being false.
    
    Change-Id: I69da64824c4fb45d084411d62e99b4673f8aa703
    Reviewed-on: https://code.wireshark.org/review/8416
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0c968f5   MEGACO - remember "short form" format and don't recheck it.
    adds  a1e1017   Do not assume the data field of an address structure is an aligned pointer.


Summary of changes:
 epan/dissectors/packet-ssl-utils.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)