similar to: OpenSSH-2.1.1p2: Is this misuse of strtok?

Displaying 20 results from an estimated 900 matches similar to: "OpenSSH-2.1.1p2: Is this misuse of strtok?"

2007 Oct 25
2
Using strtok via win32/api
Hi all, I''m having a little trouble with strtok: require ''win32/api'' include Win32 strtok = API.new(''strtok'', ''PP, ''P'', ''msvcrt'') string = "A string\tof ,,tokens\nand some more tokens"; seps = " ,\t\n"; puts "Tokens:" token = strtok.call(string, seps) while token puts
2000 Jul 05
1
Openssh-2.1.1p2 BUG? X11 forwarding no longer works
BUG: X11 forwarding no longer works in Openssh-2.1.1p2. I think this is due to the wrong sense of the test in session.c:1372 session_x11_req(Session *s) { if (!no_port_forwarding_flag) { debug("X11 forwarding disabled in user configuration file."); return 0; } It should be session_x11_req(Session *s) { if
2002 Feb 08
1
Expansion of hostname
# This issue is also related to # Subject: Re: [openssh-dev]: disable ProxyCommand from being used? On reading ~/.ssh/config file, host name which is specified by command line and check with 'Host' line, is constant for the whole of reading. If this host name is expanded by 'HostName' option value, it's worth for making config file simple and usefull 'Host' can be
2011 Jan 26
1
[nut-commits] svn commit r2853 - in branches/windows_port: drivers include
Citeren Frederic BOHE <fbohe-guest op alioth.debian.org>: > Modified: branches/windows_port/include/wincompat.h > ============================================================================== > --- branches/windows_port/include/wincompat.h Wed Jan 26 15:05:16 > 2011 (r2852) > +++ branches/windows_port/include/wincompat.h Wed Jan 26 15:16:09 > 2011 (r2853) > @@
2024 May 06
1
Feature request/EOI: Match interactive config?
On Sat, 4 May 2024, openssh at tr.id.au wrote: > Hey there, > > I often want different behavior in my ssh client depending on > whether I'm logging into an interactive session or running > a remote non-interactive command. We can see at, say, > https://unix.stackexchange.com/a/499562/305714 that this isn't a > unique wish, and existing solutions are kind of baroque.
2017 Mar 22
1
Re: [PATCH] inspect: improve detection of Mageia install discs
On Wednesday, 22 March 2017 17:31:41 CET Richard W.M. Jones wrote: > On Wed, Mar 22, 2017 at 05:16:34PM +0100, Pino Toscano wrote: > > Check for a "product.id" file in an architecture-specific subdirectory > > of the main partition, and use its data to improve the data on the > > media. > > > > Only Mageia as distribution name is recognized there, since
2013 Sep 24
1
[PATCH 1/1] com32: hdt: fix memory leak
The dynamically alloc'd string to protect from strtok modification has not been free'd on start_auto_mode() function Signed-off-by: Felipe Pena <felipensp at gmail.com> --- com32/hdt/hdt-cli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c index 7542da8..6c5baf1 100644 --- a/com32/hdt/hdt-cli.c +++ b/com32/hdt/hdt-cli.c @@ -779,6
2006 Feb 01
1
[Bug 437] New: restore can segfaults when restoring corrupt policy counters
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=437 Summary: restore can segfaults when restoring corrupt policy counters Product: iptables Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: iptables-restore
2003 Feb 12
2
rsync & ldap authentication
Hi, I'm trying to get rsync 2.5.6 to authenticate users via openldap-2.0.23. I was looking through the mailing list archives and found a patch for rsync-2.4.6 that does this for me. I was just wondering if this is still valid, or if there has been a new patch or new implementation that has superceded this patch. Any help would be great. The message I am referring to is as follows:
2003 Jul 05
2
Unhelpful error message when matching hosts in access list [PATCH]
Greetings, As previously reported by me to the Debian bug tracking system: ---------------------------------------------------------------------- An access list in rsyncd.conf may contain hostnames as well as addresses. It may contain several patterns to match against. address_match (in access.c) does this by trying to match hostname and address against each of the patterns until a match is
2000 Jan 13
2
sshd doesn't set SSH_AUTH_RHOSTS as supported authentication
Okay...I've got it narrowed down, just don't know why this is happening... In sshd.c, auth_mask is set to "supported authentication methods": /* Declare supported authentication types. */ auth_mask = 0; if (options.rhosts_authentication) auth_mask |= 1 << SSH_AUTH_RHOSTS; if (options.rhosts_rsa_authentication)
2000 Feb 04
0
Patch that allows equal sign in options
Hi, Here is a patch for release 1.2.2 that allows the use of '=' instead of whitespace when specifying options. For options on the commandline, it can be useful to be able to avoid whitespace in some situations. best regards and thanks for the patch regarding segfaulting with PAM, Stefan ------------------------------------------------------------------- Email: Stefan.Heinrichs at
2002 Jan 27
5
[PATCH] Add scp -1 and -2 options to OpenSSH-3.0.2p1
Here is a patch to add the missing scp -1 and -2 options to eliminate confusion for users familiar with the commercial version of SSH. This patch and others are maintained on the secure nfs (SNFS) web page: http://www.math.ualberta.ca/imaging/snfs/ -- John Bowman University of Alberta diff -ur openssh-3.0.2p1/scp.c openssh-3.0.2p1J2/scp.c --- openssh-3.0.2p1/scp.c Sun Oct 21 18:53:59 2001 +++
2000 Jul 13
2
[PATCH] OpenSSH 2.1.1pl3 (portable), readconf.c and strsep(3)
The latest changes (replacing strtok with strsep) in OpenSSH's readconf.c broke many ~/.ssh/config files. Actually those which uses more than one whitespace character to separate keyword and value. For instance my ~/.ssh/config file reads: | BatchMode no | Compression yes | CompressionLevel 3 | FallBackToRsh no | UsePrivilegedPort no | ForwardX11
2024 May 06
1
Feature request/EOI: Match interactive config?
Hey Damien, > Would something like this help? > > Match sessiontype shell > User foo > Match remotecommand "none" > User foo2 > Match sessiontype exec remotecommand "/rsync" > User bar > Match sessiontype subsystem remotecommand "sftp" > User baz > > > diff --git a/readconf.c b/readconf.c > <snip> Thanks for looking
2015 Sep 26
5
[RFC][PATCH v2] Support a list of sockets on SSH_AUTH_SOCK
The idea behind this change is to add support for different "ssh-agents" being able to run at the same time. It does not change the current behaviour of the ssh-agent (which will set SSH_AUTH_SOCK just for itself). Neither does it change the behaviour of SSH_AGENT_PID (which still supports only one pid). The new implementation will go through the list of sockets (which are separated by a
2001 Jun 01
1
Export knfsd/ext3 on doubly patched kernel(knfsd/reiserfs) OK?
Hi - if I have a doubly patched kernel (2.4.5) (1) Apply gkernel/CVS ext3 patches (2) Apply Neil Brown/Reiserfs team knfsd and reiserfs patches Will ext3 be exportable by knfsd (i.e. inherit automagically the nfsd_operations thingies from ext2) or does it need further patching? -- Chan Shih-Ping (Richard) <cshihpin@dso.org.sg> DSO National Laboratories 20 Science Park Drive
2001 Jun 04
1
Ooops output
Here's an oops output on 2.4.5 + CVS/ext3. This happened while trying to do a mkinitrd (on RedHat 7.1). ksymoops 2.4.0 on i686 2.4.5-2smp. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.5-2smp/ (default) -m /boot/System.map-2.4.5-2smp (specified) kernel BUG at inode.c:934! invalid operand: 0000 CPU: 1 EIP:
2001 Jun 25
1
Any issues with ext3-0.0.7 on 2.4.6-pre5?
Are there any issues with ext3-2.4-0.0.7 on 2.4.6-pre5? The patch applies with offsets and no rejects. [I need the export reiserfs by knfsd functionality of -pre3 onwards. My intent for the test system is to protect all standard partitions /, /usr, /var with ext3 (easier to revert to ext2 and do OS upgrades) and try a mixture of ext3 and reiserfs for exporting of data and user home partitions.]
2001 Jan 29
1
Is ext3 kernel nfsd friendly?
This is prompted by two issues: Neil Brown on the NFS list asking for file systems that users want to export via NFS and the problems that the other journaling filesystem reiserfs has with knfsd. As far as I understand reiserfs does not work with knfsd so a patch is needed for the fs driver to provide a callback to knfsd to allow the fs driver to do some clever tricks with inodes. Neil's