403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/bareos-server/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/bareos-server/files/patch-core-src-dird_catreq.cc
--- core/src/dird/catreq.cc	2022-01-21 09:00:16.883799000 -0500
+++ core/src/dird/catreq.cc	2022-01-21 09:02:08.619060000 -0500
@@ -656,7 +656,7 @@
   bool retval = false;
   int32_t pktsiz;
   size_t nbytes;
-  ssize_t size = 0;
+//  ssize_t size = 0;
   int32_t message_length; /* message length */
   int spool_fd = -1;
   POOLMEM* msg = GetPoolMemory(PM_MESSAGE);
@@ -680,7 +680,7 @@
 
   while ((nbytes = read(spool_fd, (char*)&pktsiz, sizeof(int32_t)))
          == sizeof(int32_t)) {
-    size += sizeof(int32_t);
+    //size += sizeof(int32_t);
     message_length = ntohl(pktsiz);
 
     if (message_length > 0) {
@@ -697,7 +697,7 @@
         goto bail_out;
       }
       msg[nbytes] = '\0';
-      size += nbytes;
+      //size += nbytes;
     }
 
     if (!jcr->IsJobCanceled()) {

Youez - 2016 - github.com/yon3zu
LinuXploit