Wireshark-commits: [Wireshark-commits] master 41e659d: extcap: prevent registration of wrong versio

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 4 Aug 2016 11:28:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=41e659d91e432f6336c9e3243b8004b3a73a15c4
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

41e659d by Dario Lombardo (lomato@xxxxxxxxx):

    extcap: prevent registration of wrong version.
    
    This prevents the user to run
    
    extcap_base_set_util_info(extcap, "1", NULL, "0", NULL);
    
    that would result in version = 1.0.
    
    Change-Id: I67532459c852bdceb16693553e90da88a1043435
    Reviewed-on: https://code.wireshark.org/review/16858
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  0bf1288   extcap: preference name must only contain lower case ASCII, numbers, dots or underscores
    adds  41e659d   extcap: prevent registration of wrong version.


Summary of changes:
 extcap/extcap-base.c |    3 +++
 1 file changed, 3 insertions(+)