Displaying 20 results from an estimated 27 matches for "reallocarray".
2016 Jul 23
2
Call for testing: OpenSSH 7.3
On Sat, Jul 23, 2016 at 2:30 PM, Hisashi T Fujinaka <htodd at twofifty.com> wrote:
[...]
>> Could you try commenting out the HAVE_REALLOCARRAY line in config.h
>> make clean, make and rerun the test?
>
> That works. Weird how I need that on -current but not on -7.
Looks like reallocarray was added after 7: it's in
http://netbsd.gw.com/cgi-bin/man-cgi?reallocarray++NetBSD-current but
it's not in http://netbsd.gw.com/cg...
2016 Jul 23
2
Call for testing: OpenSSH 7.3
...b162a0, type = 2, serial = 5, key_id = 0x7037f9b18090
> "julius", nprincipals = 1,
> principals = 0xfffffffff9b180a0, valid_after = 915145200, valid_before =
Thanks for taking the time to debug this.
The key->cert->principals pointer looks wrong - does NetBSD libc
provide a reallocarray function? We detect its presence during
configure:
checking for reallocarray... no
(that's on Linux)
Could you try commenting out the HAVE_REALLOCARRAY line in config.h
make clean, make and rerun the test?
-d
2019 Jun 17
0
[ANNOUNCE] libX11 1.6.8
Adam Jackson (2):
_XDefaultIOError: Reformat to be less ugly
_XDefaultIOError: Do better at detecting explicit shutdown
Alan Coopersmith (23):
Remove documentation of obsolete B16 & B32 tags in specs/libX11
Update README for gitlab migration
Import reallocarray() from OpenBSD
Convert main src directory to use reallocarray()
Convert src/XKB to use reallocarray()
Convert src/xcms to use reallocarray()
Add some missing allocation failure checks in src/xcms
Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray...
2014 Dec 09
2
build problems on the latest portable tree
...ael.c:1104:7: error: ?Td4? undeclared (first use in this function)
(Td4[(t0 >> 24) ] << 24) ^
^
introduced in commit a1f8110cd5ed818d59b3a2964fab7de76e92c18e
- ./libssh.a(krl.o): In function `ssh_krl_from_blob': krl.c:1007:
undefined reference to `reallocarray'
introduced in commit in 74de254bb92c684cf53461da97f52d5ba34ded80 -
reallocarray() seems to only part of openbsd-5.6 stdlib
Petr
--
Petr Lautrbach
2016 Feb 17
3
Call for testing: OpenSSH 7.2
...fter = 915145200, valid_before =
> 1293836400, critical = 0x7f7ff7b162f0,
> extensions = 0x7f7ff7b16340, signature_key = 0x0}
Thanks, but nothing appears wrong there. How about
"print key->cert->principals[0]" - though I'm not sure how it could get
to this point without reallocarray() returning a bad pointer.
-d
2019 Sep 14
0
[ANNOUNCE] libXfont2 2.0.4
...Alan Coopersmith (15):
Update README for gitlab migration
Update configure.ac bug URL for gitlab migration
Add some unit testing utilities
Add strlcat & strlcpy fallbacks if not provided by libc nor libbsd
Use bounds checking string functions everywhere
Add reallocarray fallback if not provided by libc nor libbsd
Convert multiplying realloc calls to use reallocarray instead
Convert multiplying malloc calls to use mallocarray instead
fontxlfd.c: tell gcc that switch fallthrough is intentional
stubs/atom.c: check for ResizeHashTable failure...
2017 Mar 31
10
[Bug 2702] New: ssh compiled with --with-ldns segfaults during known_hosts parsing
https://bugzilla.mindrot.org/show_bug.cgi?id=2702
Bug ID: 2702
Summary: ssh compiled with --with-ldns segfaults during
known_hosts parsing
Product: Portable OpenSSH
Version: 7.5p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
...>alloc_free_callbacks == 0)
> + new_alloc = 8;
> + else
> + new_alloc = 2 * h->alloc_free_callbacks;
> +
> + new_callbacks = realloc (h->free_callbacks,
> + sizeof (struct free_callback) * new_alloc);
Should we start relying on reallocarray() to guarantee no multiplication
overflow? (Not yet in POSIX, but it has been proposed:
http://austingroupbugs.net/view.php?id=1218)
> + if (new_callbacks == NULL) {
> + set_error (errno, "realloc");
> + goto out;
> + }
> + h->alloc_free_callbacks = n...
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
...g cleanup at the
end of the lifetime, whether or not there is also a language callback in
play)
>
>>> + new_callbacks = realloc (h->free_callbacks,
>>> + sizeof (struct free_callback) * new_alloc);
>>
>> Should we start relying on reallocarray() to guarantee no multiplication
>> overflow? (Not yet in POSIX, but it has been proposed:
>> http://austingroupbugs.net/view.php?id=1218)
>
> I guess - didn't know about it. Seems like it's not available in
> glibc yet?
'man realloc' on Fedora 29 lists reall...
2018 Mar 10
0
[ANNOUNCE] xrdb 1.1.1
...free() arguments to (char *)
unifdef -U__UNIXOS2__
Print which option was in error along with usage message
Use SEEK_* names instead of raw numbers for fseek whence argument
Reformat code to X.Org standard coding style
Fix "editting" typo in comment
Use reallocarray() for array allocations & resizing
xrdb 1.1.1
Emil Velikov (1):
autogen.sh: use quoted string variables
Mihail Konev (1):
autogen: add default patch prefix
Peter Hutterer (1):
autogen.sh: use exec instead of waiting for configure to finish
git tag: xrdb-1.1.1
https:...
2024 Mar 02
0
[ANNOUNCE] xlsfonts 1.0.8
...protocol.
This release fixes a failure to build with the upcoming gcc 14.
Alan Coopersmith (5):
man page: emphasize this program is for querying an X server
gitlab CI: stop requiring Signed-off-by in commits
Fix -Wincompatible-pointer-types warning from gcc (issue #1)
Use reallocarray() if available
xlsfonts 1.0.8
git tag: xlsfonts-1.0.8
https://xorg.freedesktop.org/archive/individual/app/xlsfonts-1.0.8.tar.gz
SHA256: 448ba05919bafc6b2ca3d21982646b060e2af3a27a5cc05fcedbe8b2608388cb xlsfonts-1.0.8.tar.gz
SHA512: 9a693026af189a9d73ea34d93ffd81527db3d95d3b600b7bb52b34fc2c7...
2024 Mar 10
0
[ANNOUNCE] iceauth 1.0.10
...2038 configure flag which may allow iceauth
to work with files whose timestamps are later than January 19, 2038,
but this has not been tested.
Alan Coopersmith (7):
gitlab CI: stop requiring Signed-off-by in commits
configure: Use AC_SYS_LARGEFILE to enable large file support
Use reallocarray if available, provide local version if not
Silence -Wanalyzer-out-of-bounds warnings from gcc 13
Variable scope reductions, as suggested by cppcheck
unifdef __UNIXOS2__
iceauth 1.0.10
git tag: iceauth-1.0.10
https://xorg.freedesktop.org/archive/individual/app/iceauth-1.0.1...
2024 Nov 13
0
[ANNOUNCE] xcompmgr 1.1.10
xcompmgr is a sample compositing manager for X servers supporting the
XFIXES, DAMAGE, RENDER, and COMPOSITE extensions. It enables basic
eye-candy effects.
Alan Coopersmith (8):
find_fade: declare argument as const
Handle realloc() failure
Use reallocarray() if it is available
Convert sprintf calls to snprintf
Use C99 struct initializers
Add {} around for loops containing multiple lines of code
More variable scope reductions
xcompmgr 1.1.10
git tag: xcompmgr-1.1.10
https://xorg.freedesktop.org/archive/individual/app/xc...
2016 Feb 17
2
Call for testing: OpenSSH 7.2
On Tue, 16 Feb 2016, Hisashi T Fujinaka wrote:
> On Wed, 17 Feb 2016, Darren Tucker wrote:
>
> > On Wed, Feb 17, 2016 at 3:51 AM, Hisashi T Fujinaka <htodd at twofifty.com>
> > wrote:
> > > Sorry, I haven't been paying too much attention here, but I'm having
> > > repeated failures when I tried this morning.
> > >
> > >
2015 Sep 02
0
[ANNOUNCE] xorg-server 1.17.99.901
...n CloseWellKnownConnections
Remove apSolaris.shar (old "aperture" kernel driver for Solaris)
Remove remaining doc references to Xalloc, Xrealloc, and Xfree
Let calloc handle multiplication
Add XNFcallocarray() to allow xnfcalloc() to check for overflow
Import reallocarray() from OpenBSD
Add xallocarray() helper macro
Add no-fail equivalents of allocarray & reallocarray
Convert os/* to new *allocarray functions
Convert dix/* to new *allocarray functions
Convert top level extensions to new *allocarray functions
Convert XKB to ne...
2019 Aug 12
0
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
...ed user_data.
Yes it should be cb (ptr, user_data). I'll tighten it up because
there are now two user_datas.
> > + new_callbacks = realloc (h->free_callbacks,
> > + sizeof (struct free_callback) * new_alloc);
>
> Should we start relying on reallocarray() to guarantee no multiplication
> overflow? (Not yet in POSIX, but it has been proposed:
> http://austingroupbugs.net/view.php?id=1218)
I guess - didn't know about it. Seems like it's not available in
glibc yet?
> > + if (new_callbacks == NULL) {
> > + set_erro...
2016 Jul 22
18
Call for testing: OpenSSH 7.3
Hi,
OpenSSH 5.3 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This release contains some
substantial new features and a number of bugfixes.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH is
2018 Feb 28
0
[ANNOUNCE] xserver 1.20 RC1
...fer' may be used uninitialized warning
xwayland: use _XWAYLAND_ALLOW_COMMITS property
xwayland: reduce over-damage
Peter Harris (9):
meson: Detect arc4random_buf
meson: Detect more functions
meson: Only detect each function once
meson: Detect strlcat/strlcpy/reallocarray in libbsd
meson: Fix epoll detection
os: Add epoll-like pollset implementation for AIX
os: Add epoll-like port implementation for Solaris
composite: Propagate damagedDescendants when reparented
composite: Fix use-after-free in compReparentWindow
Peter Hutterer (14):...
2019 Sep 13
4
[9.0.0 Release] Release Candidate 5 is here
Hello everyone,
9.0.0-rc5 was just tagged from the release_90 branch at r371837. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc5.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc5 Binaries will be added as they
become available.
There is only a single change from rc4 to rc5. Once more, the hope is
that this will be the last release candidate and that we can
2019 Dec 14
5
LLVM 9.0.1-rc3 has been tagged
Hi,
I've just tagged LLVM 9.0.1-rc3. Testers can begin testing and uploading
binaries. This will be the last release candidate unless there is a
major problem. I'm planning to tag the final release on Dec 19.
-Tom