search for: xmalloc

Displaying 20 results from an estimated 463 matches for "xmalloc".

Did you mean: kmalloc
2008 Oct 15
3
[PATCH] use tlsf for xmalloc engine
This patch replaces the Xen xmalloc engine with tlsf, an allocation engine that is both more space efficient and time-bounded, especially for allocation sizes between PAGE_SIZE/2 and PAGE_SIZE. The file xmalloc.c is deprecated but not yet deleted. A simple switch of a comment line in common/Makefile will change back to the legacy x...
2016 Feb 13
4
[Bug 2540] New: Adds xstrndup() to xmalloc.h/xmalloc.c in OpenSSH 7.x
https://bugzilla.mindrot.org/show_bug.cgi?id=2540 Bug ID: 2540 Summary: Adds xstrndup() to xmalloc.h/xmalloc.c in OpenSSH 7.x Product: Portable OpenSSH Version: 7.1p1 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.o...
2006 May 04
2
xmalloc(foo*bar) -> xcalloc(foo, bar) for Portable
Hi All. While wandering in auth-pam.c I noticed that there's a few Portable-specific escapees from the xmalloc(foo * bar) cleanup. There's also a "probably can't happen" integer overflow in ssh-rand-helper.c with the memset: num_cmds = 64; - entcmd = xmalloc(num_cmds * sizeof(entropy_cmd_t)); + entcmd = xcalloc(num_cmds, sizeof(entropy_cmd_t)); memset(entcmd,...
2006 May 09
1
xmalloc symbol in libssh
Hi list, (Please Cc: me in your replies because I'm not subscribed to this list.) While trying to build lukemftpd staticaly on FreeBSD, I got a link-time error. Libssh.a indeed provides the "xmalloc" symbol (I suppose there are more). I wonder if this is whether intentional or not. It is a very common function name, and I think it would be worth renaming it to something like ssh_xmalloc() or openssh_xmalloc(). I can provide a patch on request. %%% % cc -O2 -fno-strict-aliasing -pipe -...
2005 Nov 23
2
RE: __ia64__ ifdef in xmalloc.c: "Fix ar.unat handling forfast paths"
>It''s not hard to support arbitrary alignment, at the cost of burning >some space. We should probably do that. The "we" in that last sentence is the Xen team ... referring to making fixes to xmalloc? -Tony _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2004 Jul 20
0
broken configure in tftp-hpa 0.37
... checking for library containing xmalloc... no ./configure: line 11837: case: command not found ./configure: line 11838: xmalloc.o: command not found ./configure: line 11839: * xmalloc.o: command not found ./configure: line 11840: xmalloc.o *: command not found ./configure: line 11841: * xmalloc.o *: command not found ./configure: line 11...
2010 Jun 02
4
[Bug 1773] New: PKCS#11 authentication fails with "xmalloc: zero size" for some certificates.
https://bugzilla.mindrot.org/show_bug.cgi?id=1773 Summary: PKCS#11 authentication fails with "xmalloc: zero size" for some certificates. Product: Portable OpenSSH Version: 5.5p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Smartcard AssignedTo: unas...
2015 Sep 23
0
[Bug 1773] PKCS#11 authentication fails with "xmalloc: zero size" for some certificates.
...---------------------------------------------------------- CC| |jjelen at redhat.com --- Comment #5 from Jakub Jelen <jjelen at redhat.com> --- This is related to the bug #2429 (see proposed and applied patch with check of the length before calling xmalloc in attachment #2670). Your original error should not appear again, because the check for length is at the moment before calling xmalloc. The note in the code and in linked bugzilla says that the CKA_ID is allowed to be empty. Can you elaborate more on what problems you see at the moment? -- Yo...
2002 Jan 22
2
ssh-keyscan: xmalloc out of memory error
hi all, I got "xmalloc: out of memory" when i used ssh-keyscan to a remote host that is using SSH protocol 2 and only protocol 2 (no fallback to SSH protocol 1). Looks to me more like ssh-keyscan doesn't talk SSH protocol 2 to the server. Please help. Here is the exact error: # /usr/local/bin/ssh-keyscan -v...
2003 Sep 16
1
openbsd-compat/port-aix.c fix for 3.7p1
1. Need a prototype for get_canonical_hostname(). 2. -I.. is used to build port-aix.c so why not just #include <xmalloc.h> rather than <../xmalloc.h>? -- albert chin (china at thewrittenword.com) -- snip snip --- openbsd-compat/port-aix.c.orig Tue Sep 16 10:07:47 2003 +++ openbsd-compat/port-aix.c Tue Sep 16 10:08:09 2003 @@ -27,11 +27,12 @@ #include "ssh.h" #include "log.h" #inclu...
2003 Oct 10
5
[Bug 741] SSH with long banner has xmalloc error and disables the -q option
http://bugzilla.mindrot.org/show_bug.cgi?id=741 Summary: SSH with long banner has xmalloc error and disables the -q option Product: Portable OpenSSH Version: -current Platform: All OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-bu...
2012 Jul 11
6
maximum memory size allocated by _xmalloc
Hi all, I''m currently inserting my own code to adjust the several existing memory ballooning works. To accomplish it, I manage some kind of statistics in Xen memory area. Using _xmalloc, I''ve allocated certain size of memory chunk for the data structure. ( I varied it from 10kb to 24 MB.) When the size is equal to 24 MB, xen won''t boot anymore. (stuck during the xmalloc, according to my debugging. _xmalloc returns NULL.) There was no problem when the size is be...
2002 Oct 14
1
R 1.6.0 Solaris crash with xmalloc: out of virtual memory
[some de-capitalization of *SXP done manually by mailing list maintainer ; the originally was caught as potential spam. MM] I have a little R program that crashes with the message xmalloc: out of virtual memory The code has a repeat{} loop that watches the sizes of some files. When there's an increase it updates things by reading the last 65 lines of each file, doing some calculations, and re-making a plot. After about 260 updates it crashes with the message xmalloc: out...
2017 May 06
2
xrealloc namespace conflict
...all other architectures: https://cran.r-project.org/web/checks/check_results_corpus.html I believe that the issue arrises from a namespace class between "xrealloc", which my package provides for internal use, but which R also seems to provide (possibly as part of TRE in src/extra/tre/xmalloc.c). It looks like my package is not picking up my custom xrealloc, but using an xrealloc provided by R. Besides the fact that I am linking to the wrong xrealloc, I think my tests are failing for the same reason that the following code segfaults on Linux (Debian, with R 3.4.0): test <- inli...
2015 Sep 23
0
[Bug 1773] PKCS#11 authentication fails with "xmalloc: zero size" for some certificates.
...mail.com Attachment #2713| |ok+ Flags| | --- Comment #3 from Sergey Ivanov <evasive.gyron at gmail.com> --- Created attachment 2713 --> https://bugzilla.mindrot.org/attachment.cgi?id=2713&action=edit Patch to fix xmalloc error when using pkcs11 for auth for 7.x releases -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
2015 Sep 23
0
[Bug 1773] PKCS#11 authentication fails with "xmalloc: zero size" for some certificates.
.... debug1: manufacturerID <SafeNet, Inc.> cryptokiVersion 2.20 libraryDescription <SafeNet eToken PKCS#11> libraryVersion 9.0 debug1: label <eToken> manufacturerID <SafeNet, Inc.> model <eToken> serial <01234567> flags 0x60d debug1: have 1 keys debug1: have 2 keys xmalloc: zero size Output with sensitive data removed. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
2015 Sep 24
0
[Bug 1773] PKCS#11 authentication fails with "xmalloc: zero size" for some certificates.
...------------------------- Attachment #2713|0 |1 is obsolete| | --- Comment #7 from Damien Miller <djm at mindrot.org> --- Created attachment 2714 --> https://bugzilla.mindrot.org/attachment.cgi?id=2714&action=edit Avoid xmalloc(0) Please try this patch. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
2015 Sep 24
0
[Bug 1773] PKCS#11 authentication fails with "xmalloc: zero size" for some certificates.
https://bugzilla.mindrot.org/show_bug.cgi?id=1773 --- Comment #8 from Sergey Ivanov <evasive.gyron at gmail.com> --- Provided patch corrects the xmalloc error. Thanks. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
2002 Oct 09
0
Dealing with xmalloc: out of virtual memory
...d, then ## read the last 65 lines of all the files ## do a few computations, make a plot } With the intention of using Ctrl-C to manually break the loop when desired. I set this thing running yesterday afternoon, and came in this morning to find it had crashed with this message xmalloc: out of virtual memory and returned to the OS. None of my objects are large, but they are repeatedly being overwritten so maybe the following note from the online FAQ (section 7.1) is relevant? "The new garbage collector does not move objects in memory, meaning that it is possible fo...
2017 May 11
0
xrealloc namespace conflict
...trick p.s. Here are some references: My package Makevars are at https://github.com/patperry/r-corpus/blob/master/src/Makevars ; my version of "xrealloc" is in corpus/src/xalloc.c You can see the source for the libreadline xrealloc at https://github.com/JuliaLang/readline/blob/master/xmalloc.c#L67 Patrick Perry wrote: > > I have a package on CRAN now (corpus-0.3.1) that is currently failing > tests on Linux, but passing on all other architectures: > > https://cran.r-project.org/web/checks/check_results_corpus.html > > I believe that the issue arrises from a names...