Displaying 20 results from an estimated 4000 matches similar to: "[Bug 2684] New: calling realloc with a size <= 0"
2017 Feb 25
2
[Bug 2683] New: memory leak in ssh_packet_read_seqnr
https://bugzilla.mindrot.org/show_bug.cgi?id=2683
Bug ID: 2683
Summary: memory leak in ssh_packet_read_seqnr
Product: Portable OpenSSH
Version: -current
Hardware: amd64
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at
2006 Nov 21
2
Buig in bin/R script (PR#9375)
Full_Name: Gordon Lack
Version: 2.4.0
OS: OSF1 v5.1
Submission from: (NULL) (198.28.92.5)
Changes to the bin/R front-end interlude script at 2.4.0 (cf: 2.2.0) have broken
R on (Dec/Compaq/HP) OSF1.
There are 3 occurrences of "${@}", but this is the incorrect syntax for adding
$@, as on older Bourne shells this will add an empty (but present) parameter.
The result is that the build
2016 Feb 04
3
Fwd: [musl] strptime() question
There is incompatibility between R strptime and musl libc. I posted
about it on their mailing list, but they need more information I can't
provide, so I'm forwarding the message here in hope R developers can
help. Thanks.
---------- Forwarded message ----------
From: Rich Felker <dalias at libc.org>
Date: Thu, Feb 4, 2016 at 2:07 PM
Subject: Re: [musl] strptime() question
To: Alba
2007 Oct 02
3
[PATCH] SIGTERM and SIGINT handler to flush xentop -b outputs
# HG changeset patch
# User inakoshi.hiroya@jp.fujitsu.com
# Date 1191287395 -28800
# Node ID 5543e74774a826b1781893982ed5052312b820fc
# Parent 83239b2890723e0c06bad507bb273a970784b18e
Flush stdout when xentop -b gets SIGINT and SIGTERM.
It is useful when you stop xentop -b by keyboard interrupt or by other
programs such as killall from a batch script.
You would have missed the bottom part of
2017 Sep 16
4
R Configuration Variable: Maximum Memory Allocation per R Instance
Dear R Developers,
In the same way that MySQL/MariaDB's Engine InnoDB or MyISAM/Aria have the
innodb_buffer_pool_size or the key_buffer_size for setting the maximum
amount of RAM which can be used by a Server Instance:
?Would it be possible to create an R Configuration Variable which fixes the
maximum amount of RAM memory to be used as Commit / Dynamic Memory
Allocation?
Thank you.
Juan
2019 Sep 13
1
[PATCH nbdkit] common/bitmap: Don't fail on realloc (ptr, 0)
The following commands:
nbdkit -fv --filter=cow memory size=512 --run 'qemu-img info $nbd'
nbdkit -fv --filter=cache memory size=512 --run 'qemu-img info $nbd'
both fail with:
nbdkit: memory[1]: error: realloc: Success
Initial git bisect pointed to commit 3166d2bcbfd2 (but I don't believe
that commit is the real cause, it merely exposes the bug).
The reason this
2009 Dec 21
2
Limit on number of times Realloc can be called?
Hello,
I've been writing a program in C that will be called by R. I seem to have
stumbled upon an odd error that seems to suggest there is a limit on the
number of times "Realloc" (the R version as defined in the manual
"R-extenstions" not the C version "realloc") when I try to use the
following program:
#include <R.h>
#include <Rinternals.h>
SEXP
2019 Sep 15
2
[PATCH nbdkit v2] common/bitmap: Don't fail on realloc (ptr, 0)
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-September/msg00100.html
In v2 I've changed the patch so it avoids calling realloc at all in
this case.
The patch is a bit longer this way. But I don't see any other
alternative if we are to avoid having a "realloc wrapper" of some kind
that we use everywhere, which I guess we should avoid because it makes
plugins
2008 Dec 19
2
Using realloc to remove MAX_LISTEN_SOCKS limit on sshd.c
OpenSSH developers,
I have removed the fixed, arbitrary limit on the number of ListenAddress
allowed by using realloc to dynamically expand listen_socks as needed.
This completely removes MAX_LISTEN_SOCKS from the source. I made this
change on the version of OpenSSH shipped with CentOS 5.2, version
4.3p2. Please see the attached .c file and .diff file. Please add
these changes to OpenSSH
2005 May 12
0
[PATCH] Trusted IRIX Support
I developed a better prototype quicker than I expected.
Please provide feedback. It's been a few years since I've used autoconf,
so I'm not certain the new defines were integrated correctly.
Jason
diff -r -C3 openssh-4.0p1/acconfig.h openssh-4.0p1.trix/acconfig.h
*** openssh-4.0p1/acconfig.h Fri Feb 25 17:07:38 2005
--- openssh-4.0p1.trix/acconfig.h Thu May 12 10:32:25
2011 Jun 25
2
On .. glibc detected home/sguha/lib64/R/bin/exec/R: realloc(): invalid next size: 0x000000000209e210 ***
Hello,
I'm trying to use rjson to parse a JSON object. The object can be found here
http://pastebin.com/np0s5hgM
(you'll probably need to add quotes around the content)
fromJSON returns the error
glibc detected home/sguha/lib64/R/bin/exec/R: realloc(): invalid next
size: 0x000000000209e210 ***
Is there a fix coming soon? Maybe CRAN should also have an outstanding
bug field -
2006 Nov 21
1
1.2beta1 speex_bits_pack realloc issue?
In bits.c\speex_bits_pack there is logic to reallocate the bits buffer.
In that section there is a call to speex_memset_bytes which appears to
wipe out all the old bytes. I found when I encoded a multi-frame message
that needed less than the default 2000 bytes for bits->chars, everything
worked fine. However, when I encoded a longer message that triggered the
realloc code in speex_bits_pack,
2008 Nov 08
3
Rolled Distro?
Hi folks,
I've been a trixbox user for a few years now but I'm thinking about
jumping ship.
Trixbox is great, but it's missing two features out of the box which
are really important to me: outbound faxing (hylafax) and imap
voicemail. I see no indication that they will be included anytime in
the near future, so I have a choice to make - I've looked around at
Elastix,
2007 Dec 27
3
facter''s uniqueid is not unique
I have been storing the output of facter in a database with the
assumption that uniqueid was actually unique, until I found that it is
the same for a handful of my machines.
It appears that uniqueid is set from the output of hostid. I checked
into hostid and it gets its value from gethostid(). The following link,
http://www.opengroup.org/onlinepubs/009695399/functions/gethostid.html,
states,
2006 Dec 14
2
[PATCH] Portability patch for tools/check
Hi!
I did a little off-list discussion with Jan.
Attached is a patch, which makes the non-portable scripts in tools/check
portable.
Christoph
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 May 07
1
[LLVMdev] Path to AutoRegen.sh
Hi, Matthijs
Tanya addressed some of these issues on her response to my patch. You
can see there some comments.
Thanks about the ubuntu 'dash' issue. Never minded which shell I was
using here... it's very like bash from user viewpoint. I think it's
another reason to have the variable on the command line.
Alexandre
Em Qua, 2008-05-07 às 18:26 +0200, Matthijs Kooijman escreveu:
2009 Oct 11
2
empty quotes for rsync parameter
Why does inserting an empty quote ("") into a rsync command cause the current directory to be backed up?
Not sure if this is a UNIX-syntax question or rsync-syntax question.
Code:
#!/bin/sh
echo "\nspace between quotes has no effect; only music is backed up:"
rsync -ilrtn " " /home/wolf/music /backups/backup1
echo "\nempty quotes backs up current directory
2017 Apr 11
5
Potential issue with noalias @malloc and @realloc
Hi all,
I think I've spotted a semantic issue with marking @malloc and
@realloc as noalias. Say we have the program:
int f() {
int* p0 = malloc(size of(int));
free(p0);
int* p1 = malloc(sizeof(int));
if (!p1) return 20;
int value = 0;
for (int i = 0; i < 1; i++) {
*p1 = 20;
value = *p1;
if (false) // "false" is obscured in a way the compiler can't
2008 Dec 19
1
Does file.info man page describe ctime corrrectly?
(R 2.8.0 on Debian GNU/Linux sid)
?file.info contains:
mtime, ctime, atime: integer of class '"POSIXct"': file modification,
creation and last access times.
This implies that ctime is "file [...] creation [...] time"
Has R implemented ctime differently to Unix?
I understand, on Linux at least, that ctime is the last change time
(not the creation time).
2004 Sep 05
1
[PATCH] simple rm command
'rm -rf /' for klibc
Doesnt comply to the standard, but does the job.
http://www.opengroup.org/onlinepubs/009695399/utilities/rm.html
diff -p -purN klibc-0.172/utils/Makefile klibc-0.172.rm/utils/Makefile
--- klibc-0.172/utils/Makefile 2004-08-14 00:24:20.000000000 +0200
+++ klibc-0.172.rm/utils/Makefile 2004-09-05 20:11:14.109062216 +0200
@@ -6,7 +6,7 @@ MAKEDEPS = -Wp,-MD,.$(subst