User Activity

  • Posted a comment on ticket #48 on net-tools

    thanks, i thought the loop always wrote out 6 bytes followed by the NUL, but didn't read it closely enough.

  • Posted a comment on ticket #48 on net-tools

    increasing buffer to 9 bytes is insufficient. the sprintf call can write up to 10 bytes. i = ((ptr[6] & 0x1E) >> 1); can be 2 digits which means the sprintf will write 4 bytes and since it always does it at offset 6, we need 10. would be good to simplify the sprintf code a little too while at it. - sprintf(&buff[strlen(buff)], "-%d", i); + sprintf(buff + 6, "-%d", i);

  • Modified a comment on ticket #48 on net-tools

    Bug solved ! Increasing buff[] size by one solved the issue while keeping -O2 optimize compile option that is probably over optimizing strlen ! Here is diff file : --- a/lib/ax25.c 2023-06-29 11:16:10.000000000 +0200 +++ b/lib/ax25.c 2024-08-30 12:40:37.989684153 +0200 @@ -49,7 +49,7 @@ extern struct aftype ax25_aftype; static const char *AX25_print(const char *ptr) { - static char buff[8]; + static char buff[9]; int i; for (i = 0; i < 6; i++) { By the way : Linux Ubuntu-2404 6.8.0-41-generic #41-Ubuntu...

  • Modified a comment on ticket #48 on net-tools

    Hi, In bug submission it is recommanded to provide application version. This is what is shown when command line - -version is : ./ifconfig --version net-tools 3.14-alpha

  • Modified a comment on ticket #48 on net-tools

    Where : (gdb) where #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #3 0x00007ffff7c4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #4 0x00007ffff7c288ff in __GI_abort () at ./stdlib/abort.c:79 #5 0x00007ffff7c297b6 in __libc_message_impl...

  • Created ticket #24715 on SourceForge Support

    enable https for cdemu vhost

  • Posted a comment on ticket #12 on CurlFtpFS

    fwiw, with current versions, you can now do: $ curlftpfs -o "custom_list=LIST -aL,..." ... no patching needed

  • Posted a comment on ticket #67 on CurlFtpFS

    --- a/ftpfs.c +++ b/ftpfs.c @@ -1654,9 +1654,7 @@ } if (ftpfs.no_verify_hostname) { - /* The default is 2 which verifies even the host string. This sets to 1 - * which means verify the host but not the string. */ - curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 1); + curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 0); } curl_easy_setopt_or_die(easy, CURLOPT_INTERFACE, ftpfs.interface);

View All

Personal Data

Username:
vapier
Joined:
2000-11-30 02:32:23

Projects

This is a list of open source software projects that Mike Frysinger is associated with:

Personal Tools