Displaying 20 results from an estimated 900 matches similar to: "bzero() before free()"
2010 May 27
1
Idle Time-out
Hi
Does OpenSSH have a feature in which a client gets kicked out after X minutes of inactivity (no keystrokes)?
I have seen this on other SSH implementations but I don't see it in OpenSSH.
Thnx!
Met vriendelijke groet
Best regards
Bien ? vous
Miguel SANDERS
ArcelorMittal Gent
UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent
T +32 9 347 3538 | F +32 9
2009 Mar 31
2
Memory leak in do_ssh2_kex()
Hi guys
Apparently, there is small memory leak in the do_ssh2_kex() routine in sshd.c.
Line 2195 in sshd.c states:
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
Where list_hostkey_types() returns a pointer allocated by the xstrdup call (line 735). This pointer should be freed in the calling routine do_ssh2_key().
Should I make a patch for this?
Also, since my previous patch
2009 May 23
2
Memory leak caused by forwarded GSSAPI credential store
Hi guys
While debugging a GSSAPI memory allocation problem not related to OpenSSH, I found a memory leak in OpenSSH when storing forwarded GSSAPI credentials resulting in a growing process segment for each connection that uses GSSAPI credentials forwarding. What happens is the following:
In the privileged parent, we are calling ssh_gssapi_storecreds() which itself calls
2009 Mar 27
1
Patch for default Kerbers realm in AIX
Hi
I'm currently observing a rather bizarre situation when using password based Kerberos authentication in OpenSSH on AIX.
Even though AIX can authenticate a user via Kerberos (using the KRB5A load module), OpenSSH cannot Kerberos authenticate this user.
This is caused by the fact that the user has two attributes which OpenSSH doesn't take into account when forming the principal name of
2018 Aug 06
2
Winbind issue after upgrading from 4.7.5 to 4.8.3
Hi guys
We recently upgraded our Samba clusters from 4.7.5 to 4.8.3 and noticed
a difference in behavior for winbind.
The situation is as follows
Assume we have a local Linux user XYZ (UID 519) as well as a AD user
object XYZ (UID 30001).
idmap config * : backend = tdb2
idmap config * : range = 30000-50000
In our share definitions we regularly use the "force user"
2009 Apr 21
0
GSSAPIKeyExchange and GSSAPIStrictAcceptorCheck
Hi folks
Is there any particular reason why these two great features (thanks Simon!) are not part of the OpenSSH mainstream?
Met vriendelijke groet
Best regards
Bien ? vous
Miguel SANDERS
ArcelorMittal Gent
UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent
T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023
E miguel.sanders at arcelormittal.com
2009 May 03
0
Server option PrintLastLog does not work on AIX
Hi
Apparently, the server option "PrintLastLog" does not work on AIX.
The last login time is always displayed, disregarding the option.
When browsing the code, I found out there are several functions in loginrec.c which solely handle the processing of the last login info (login_get_lastlog, getlast_entry).
Since AIX does not provide such a function natively, the configure script sets
2018 Aug 07
1
Winbind issue after upgrading from 4.7.5 to 4.8.3
Hi
This is the global section of smb.conf.
[global]
workgroup = DOMAIN
realm = DOMAIN.COM
netbios name = SAMBA
security = ads
clustering = yes
idmap config * : backend = tdb2
idmap config * : range = 30000-50000
passdb backend = tdbsam
ctdbd socket = /usr/samba/var/run/ctdb/ctdbd.socket
winbind separator =
2009 May 23
7
[Bug 1601] New: Memory leak caused by forwarded GSSAPI credential store
https://bugzilla.mindrot.org/show_bug.cgi?id=1601
Summary: Memory leak caused by forwarded GSSAPI credential
store
Product: Portable OpenSSH
Version: 5.2p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at
2009 Apr 02
17
[Bug 1583] New: User principal name in AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1583
Summary: User principal name in AIX
Product: Portable OpenSSH
Version: 5.2p1
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Kerberos support
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2009 May 03
10
[Bug 1595] New: Server option PrintLastLog does not work on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1595
Summary: Server option PrintLastLog does not work on AIX
Product: Portable OpenSSH
Version: 5.2p1
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2007 Aug 28
2
Im Resize
I Have a Xen 3.0 running and want to resize a few images that are backup
up with rsync. They are 20G and need them to be 5Gb. Can that be done?
thank you.
--
saludos!
-------------------------
Alejandro Weintz Aguilar
PixelEstudios.com.
Tel. (506) - 5920328
Cel. (506) - 3080035
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2012 Dec 20
4
Deprecated calls to bzero() and index() found in OpenSSH 6.1p1
Hello All,
In reviewing source code for OpenSSH-6.1p1, I found instances
of deprecated library calls still within various source code files.
Examples of deprecated calls are: bzero() (replaced with memset()
which is ANSI compliant), index() (replaced with strchr() which
is also ANSI compliant).
In file 'auth2-jpake.c', I've replaced all the bzero() calls with
the equivalent
2009 Apr 01
3
[Bug 1582] New: memory leak in do_ssh2_kex() routine (sshd.c)
https://bugzilla.mindrot.org/show_bug.cgi?id=1582
Summary: memory leak in do_ssh2_kex() routine (sshd.c)
Product: Portable OpenSSH
Version: 5.2p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa,
please pull for the latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
with the following shortlog:
maximilian attems (9):
mount: add nodev, noexec and nosuid options
mount: add -n option
cpio: small cleanups
readlink: s/link/link_name/
kinit, mknod: s/(major|minor)/\1_num/
klibc: strcspn, strpbrk, strspn include string.h
2013 May 09
3
[Bug 2100] New: Missing dereference when bzeroing unused identities
https://bugzilla.mindrot.org/show_bug.cgi?id=2100
Bug ID: 2100
Summary: Missing dereference when bzeroing unused identities
Classification: Unclassified
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
2006 Oct 31
0
6387674 bzeros removed by 6264344 were not gratuitous
Author: darrenm
Repository: /hg/zfs-crypto/gate
Revision: 448a96652f7fe8b4f2f8af8045dcef6f896be12a
Log message:
6387674 bzeros removed by 6264344 were not gratuitous
Files:
update: usr/src/common/crypto/md5/md5.c
update: usr/src/common/crypto/sha1/sha1.c
update: usr/src/common/crypto/sha2/sha2.c
2011 Mar 24
1
Fwd: Asterisk 1.6.2.10 & CDR custom added field
Hello,
is there anyone who can point me to correct information ?
Following http://pbxinaflash.com/forum/showthread.php?t=9042 and
http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql > Extending CDR
does not result in a working environment for me.
Any feedback appreciated.
Kind regards,
Jonas.
-------- Original Message --------
Subject: [asterisk-users] Asterisk 1.6.2.10 & CDR
2012 Dec 21
0
File Attachments for previous bug report
I have renamed all of the patch files to .txt, which should be acceptable
for the mailer daemon at mindrot, per Angel's suggestion.
I am attaching the patch files to the email, with the extra space removed
and a minor correction made.
Bill Parker (wp02855 at gmail dot com)
-------------- next part --------------
--- port-linux.c.orig 2012-12-19 17:40:53.231529475 -0800
+++ port-linux.c
2012 Jun 16
3
[LLVMdev] Building lld with Visual Studio 2012 RC
Hi!
I'm trying to build lld Microsoft Visual Studio 2012 RC, but it seems the
bzero function is not available.
Could memset be used instead of bzero? Or maybe define a bzero for msvc
using memset.
For example:
// in-memory matches on-disk, so copy first fields followed by path
::memcpy(to, (uint8_t*)&cmd, 12);
::memcpy(&to[12], _name.data(), _name.size());