Wireshark-commits: [Wireshark-commits] master-1.12 0bc5c2c: Use g_ascii_isalnum() rather than isaln

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 28 Oct 2014 18:19:37 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0bc5c2c34e4df30c5419ecce68c0a4739ac4dcc3
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

0bc5c2c by Guy Harris (guy@xxxxxxxxxxxx):

    Use g_ascii_isalnum() rather than isalnum().
    
    Only *ASCII* alphanumerics are allowed in filterable field names, so use
    g_ascii_isalnum() to check for them.  That avoids issues with characters
    with the 8th bit set and avoids locale-dependent behavior.
    
    Change-Id: I4e3c4eec907f5e576629229fcf154fcf728b7a2e
    Reviewed-on: https://code.wireshark.org/review/4973
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 8ea4df97e052f3fb0af3336990f2bef6d882b258)
    Reviewed-on: https://code.wireshark.org/review/4974
    

Actions performed:

    from  bba3b55   packet-amqp.c: 2nd try: Temporary/preliminary fix for Bug #10582 (crash)
    adds  0bc5c2c   Use g_ascii_isalnum() rather than isalnum().


Summary of changes:
 epan/oids.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)