similar to: [PATCH] off-by-one in asprintf/vasprintf

Displaying 20 results from an estimated 600 matches similar to: "[PATCH] off-by-one in asprintf/vasprintf"

2016 Feb 01
0
[klibc:master] Make asprintf() a simple wrapper around vasprintf()
Commit-ID: 17fabd540aeb5019909a024243c6d26610cab307 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=17fabd540aeb5019909a024243c6d26610cab307 Author: H. Peter Anvin <hpa at zytor.com> AuthorDate: Mon, 1 Feb 2016 01:55:04 -0800 Committer: H. Peter Anvin <hpa at zytor.com> CommitDate: Mon, 1 Feb 2016 01:55:04 -0800 [klibc] Make asprintf() a simple wrapper
2005 Jan 05
1
[PATCH] kinit/kinit.c
A patch for a few more hiccups and trivialities in kinit.c: * The check_path() calls check for "/root" and "/old_root" - I believe that should be "/root" and "/root/old_root". * chdir("/") is recommended after pivot_root() * init_argv[0] isn't set properly to the basename pointed to by char *s - this fix also eliminates six lines of
2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
kinit/nfsmount.c:mount_nfs_root() should use the bootpath specified by bootp/dhcp. If the "nfsroot" option is specified then it overrides the boot server bootpath and a message indicating the override is printed. --- klibc-0.194/kinit/nfsroot.c.orig 2005-01-05 04:13:47.043897880 -0700 +++ klibc-0.194/kinit/nfsroot.c 2005-01-05 04:13:09.316633296 -0700 @@ -66,34 +66,21 @@ const int
2004 Oct 25
1
chicken/egg between pipefs and initramfs/hotplug
I have a hotplug setup in initramfs. Everytime that modprobe is called I get a kernel oops: NULL pointer dereference: Unable to handle kernel NULL pointer dereference<1>Unable to handle kernel NULL pointer dereference at virtual address 00000014 printing eip: c015db49 *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP Modules linked in: CPU: 3 EIP: 0060:[<c015db49>] Not tainted
2005 Jan 05
2
[PATCH] getopt
Patch to guarantee __optptr initialization and to correctly increment optind for missing arguments. --- klibc-0.194/klibc/getopt.c.orig 2005-01-04 23:18:50.229222640 -0700 +++ klibc-0.194/klibc/getopt.c 2005-01-04 23:17:05.236184008 -0700 @@ -11,7 +11,7 @@ char *optarg; int optind = 1; int opterr, optopt; -static const char *__optptr; +static const char *__optptr = NULL; int getopt(int
2005 Jan 05
1
Status/future for klibc/initramfs
I'm wondering where things are on the roadmap for klibc and initramfs/early userspace. When will everything be harmonized with the kernel and be the default? What is left to do? I'm in my own little world, but I have a pretty good klibc/hotplug/udev/kinit early userspace that just works (for me). It's taken me a bit to get things to work because I just couldn't find all the
2004 Sep 16
3
[PATCH] gen_init_cpio uses external file list
(Apologies to klibc@zytor.com for the re-send) This patch makes gen_init_cpio generate the initramfs_data.cpio from a file which contains a list of entries: file, dir, nod. I swapped the order of filename/location for the file arguments so that it would be more uniform with the dir and nod tyes. [thayne@torch linux-2.6.8]$ usr/gen_init_cpio --help ERROR: unable to open '--help': No such
2004 Oct 21
0
define more syslog flags
Define more syslog flags that are still ignored: diff -uNr klibc-0.188/include/syslog.h udev-040/klibc-0.188/include/syslog.h --- klibc-0.188/include/syslog.h 2003-11-23 14:46:23.000000000 -0700 +++ udev-040/klibc-0.188/include/syslog.h 2004-10-21 15:35:22.411495112 -0600 @@ -47,6 +47,14 @@ #define LOG_FACMASK 01770 #define LOG_FAC(x) (((x) >> 3) & (LOG_FACMASK
2012 Feb 09
2
nmbd process and winbindd process can't start in multi network interface environement
Hello, Our OS is AIX 6100-06-05-1115 and SAMBA version is 3.3.12.0 We have two network interfaces with different IPs. Now we restrict SAMBA active in onf of the interface. SWAT and smbd can start. But nmbd and winbindd processes can't start. And there is below warning info in log.nmbd and log.winbindd. Please give your suggestions and thx. pekwj42a-> # cat /usr/lib/smb.conf # Samba
2004 Jan 22
2
MGCP Problem.
Hi. I'm new in Asterisk with MGCP. I set up a MGCP user agent and start asterisk with the next configuration files. '--------------- extensions.conf ---------------------------------------------------- [general] static=yes writeprotect=yes [globals] ap1 => mgcp/aaln/ap200@64.76.148.186 [macro-apl1] exten => s,1,Dial(${ARG1},30,Ttmr) ;exten => s,2,Voicemail(u${MACRO_EXTEN})
2017 Nov 01
0
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
On 01/11/2017 12:02 PM, Albrecht Kauffmann wrote: > Dear Duncan, > > Many thanks! > > Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: >> On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: >>> Hi all, >>> >>> after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until >>> R-3.4.1 I never had a problem with these tests. No,
2002 Aug 29
3
tru64 patch: openssh-SNAP-20020826.tar.gz does not contain 'configure', so how to build?
Hi- Since the tru64 patch was designed for -current, I thought I would try to build it with a recent snapshot before backporting to 3.4p1. So I downloaded openssh-SNAP-20020826.tar.gz frpm the portable snapshots, but it does not contain the 'configure' script. I tried copying the 'configure' from 3.4p1, but that does not create a Makefile from the Makefile.in. Where are the
2017 Nov 01
0
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: > Hi all, > > after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until > R-3.4.1 I never had a problem with these tests. No, the programm stops > at the following line of tests/reg-tests-1d.R: > >> ## available.packages() (not) caching in case of errors >> tools::assertWarning(ap1 <-
2017 Nov 01
2
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Hi all, after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until R-3.4.1 I never had a problem with these tests. No, the programm stops at the following line of tests/reg-tests-1d.R: > ## available.packages() (not) caching in case of errors > tools::assertWarning(ap1 <- available.packages(repos = "http://foo.bar")) > tools::assertWarning(ap2 <-
2017 Nov 01
2
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Dear Duncan, Many thanks! Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: > On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: > > Hi all, > > > > after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until > > R-3.4.1 I never had a problem with these tests. No, the programm stops > > at the following line of tests/reg-tests-1d.R: > > >
2017 Nov 01
2
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Am Mi, 1. Nov 2017, um 17:40, schrieb Duncan Murdoch: > On 01/11/2017 12:02 PM, Albrecht Kauffmann wrote: > > Dear Duncan, > > > > Many thanks! > > > > Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: > >> On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: > >>> Hi all, > >>> > >>> after compiling R-3.4.2 on
2003 Apr 28
1
Red Hat 9 regex symbol conflict
Hello, I've been struggling with a problem for the past several weeks, trying to get PL/R (R procedural language handler for PostgreSQL, http://www.joeconway.com/plr/) to work on Red Hat 9. In brief, R dumps core during the embedded library initialization, while in Rf_regcomp(), working on on Rprofile. Below I've included the important parts of a backtrace: Program received signal
2007 Sep 07
1
"bug" and patch: quadratic running time for strsplit(..., fixed=TRUE) (PR#9902)
Full_Name: John Brzustowski Version: R-devel-trunk, R-2.4.0 OS: linux, gcc 4.0.3 Submission from: (NULL) (206.248.157.184) This isn't a bug, but an easily-remedied performance issue. SYMPTOM > for (i in 1000 * (1:20)) { y <- paste(rep("asdf", times=i), collapse=" ") t <- system.time(strsplit(y, " ", fixed=TRUE)) cat(sprintf("i=%5d
2017 Nov 01
0
R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
On 01/11/2017 1:08 PM, Albrecht Kauffmann wrote: > Am Mi, 1. Nov 2017, um 17:40, schrieb Duncan Murdoch: >> On 01/11/2017 12:02 PM, Albrecht Kauffmann wrote: >>> Dear Duncan, >>> >>> Many thanks! >>> >>> Am Mi, 1. Nov 2017, um 16:17, schrieb Duncan Murdoch: >>>> On 01/11/2017 8:11 AM, Albrecht Kauffmann wrote: >>>>>
2002 Sep 04
2
uid transition and post-auth privsep (WAS Re: possible fundamental problem with tru64 patch) (fwd)
What do we loose by not having post-auth privsep? What code is executed between authorization and actual setting of the effective uid? On Tue, 3 Sep 2002, Chris Adams wrote: > Once upon a time, Toni L. Harbaugh-Blackford <harbaugh at nciaxp.ncifcrf.gov> said: > > It appears that the integration of the sia session setup will either > > have to be rethought or abandoned