Ignore:
Timestamp:
Jul 28, 2011, 4:21:02 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/web/statuspage.c

    r414 r615  
    248248        bool waitup = False;
    249249        TALLOC_CTX *ctx = talloc_stackframe();
     250        const char form_name[] = "status";
    250251
    251252        smbd_pid = pid_to_procid(pidfile_pid("smbd"));
     253
     254        if (!verify_xsrf_token(form_name)) {
     255                goto output_page;
     256        }
    252257
    253258        if (cgi_variable("smbd_restart") || cgi_variable("all_restart")) {
     
    327332        initPid2Machine ();
    328333
     334output_page:
    329335        printf("<H2>%s</H2>\n", _("Server Status"));
    330336
    331337        printf("<FORM method=post>\n");
     338        print_xsrf_token(cgi_user_name(), cgi_user_pass(), form_name);
    332339
    333340        if (!autorefresh) {
Note: See TracChangeset for help on using the changeset viewer.