close
Attachments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #133: vuurmuur-conf-logview_section_c-nobash.patch

File vuurmuur-conf-logview_section_c-nobash.patch, 914 bytes (added by hbeck, 8 years ago)
  • vuurmuur-conf/src/logview_section.c

    old new  
    17261726                            traffic_fp = fp;
    17271727
    17281728                            /* assemble search string => ignore stderr because it messes up the screen */
    1729                             snprintf(search_string, sizeof(search_string), "/bin/bash %s/vuurmuur-searchlog.sh %s %s/ '%s' 2>/dev/null", vccnf.scripts_location, logname, conf.vuurmuur_logdir_location, search_ptr);
     1729                            snprintf(search_string, sizeof(search_string), "/bin/sh %s/vuurmuur-searchlog.sh %s %s/ '%s' 2>/dev/null", vccnf.scripts_location, logname, conf.vuurmuur_logdir_location, search_ptr);
    17301730                            (void)vrprint.debug(__FUNC__, "search_string: '%s'.", search_string);
    17311731
    17321732                            /* open the pipe */