Displaying 20 results from an estimated 1500 matches similar to: "[PATCH] fix CHECK_this_length in sprintf.c"
2016 Apr 07
1
[PATCH] fix CHECK_this_length in sprintf.c
Martin~
Sorry about the bad patch. I work on C++ at Google. We built a check for
clang-tidy that identifies errors of this form and discovered the error
here as part of our search. I am just trying to be a good citizen and
upstream a fix, but I must have gotten sloppy as I was doing a bunch of
these.
Thanks for fixing it and finding the a test for it, I actually had no idea
how to trigger this
2016 Apr 07
0
[PATCH] fix CHECK_this_length in sprintf.c
>>>>> Matthew Fowles Kulukundis <matt.fowles at gmail.com>
>>>>> on Thu, 7 Apr 2016 11:21:56 -0400 writes:
> Martin~
> Sorry about the bad patch. I work on C++ at Google. We built a check for
> clang-tidy that identifies errors of this form and discovered the error
> here as part of our search. I am just trying to be a good
2016 Apr 07
0
[PATCH] fix CHECK_this_length in sprintf.c
>>>>> Matthew Fowles Kulukundis <matt.fowles at gmail.com>
>>>>> on Tue, 5 Apr 2016 11:17:30 -0400 writes:
> All~
> CHECK_this_length macro expands to multiple statements making it unsafe to
> use in a single line `if` statement (as is happening near line 335). This
> fixes the macro using the standard `do { } while (0)` macro
2017 Mar 09
0
problems with RdMacros in file DESCRIPTION
Hi,
Field RdMacros was introduced in file DESCRIPTION to allow users to import LaTeX-like macros from other packages.
Currently 'R CMD Check --as-cran' gives a NOTE:
> Unknown, possibly mis-spelled, field in DESCRIPTION:
> ?RdMacros?
A small package demonstrating this is available at
http://www.maths.manchester.ac.uk/~gb/testRdMacro_0.0.2.tar.gz
(and this is the source:
2019 Apr 12
2
External Authentication
I apologize but that is what I meant by black box. The Samba3 server is our
server. It connects to the LDAP that is out of my control and extends the
users' entries to the Windows desktops.
If it's easier to visualize we're getting LDAP as a service from the
central campus IT department. It is then on us to provide services our
school needs to our students, faculty and staff. They
2023 Feb 18
6
[Bug 3543] New: Add a provision to force query of login ID
https://bugzilla.mindrot.org/show_bug.cgi?id=3543
Bug ID: 3543
Summary: Add a provision to force query of login ID
Product: Portable OpenSSH
Version: 9.1p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at
2013 Sep 09
1
Is dovecot locking properly?
Hello, I'm attempting to move form qpopper 4.1 to Dovecot 2.2.5 on
Linux. When a user checks POP mail qpopper seems to make a
.username.pop temporary file in the same /var/mail directory as the mbox
INBOX file. Watching what dovecot does I don't see this happening.
Is this .pop file a lock file or just a temporary file? If its a temp
file does dovecot do the same thing elsewhere?
2019 Apr 12
2
External Authentication
Even if I am still thinking in the past it doesn't invalidate the problem I
came here to get guidance on. Instead I just get talked down to by some or
others don't even read the situation I'm trying to solve.
I don't need it to work like it used to in the NT4 sense. I don't need to
use NT4 protocols. I'm just in need of not having Samba4 write in all of
its documentation
2017 May 09
2
moving libfuzzer to compiler-rt?
> On May 9, 2017, at 2:19 PM, George Karpenkov <ekarpenkov at apple.com> wrote:
>
> +Chris.
>
> My understanding was that it is technically impossible for things in “lib”, as they are built first, and there’s no way to tell them to do that before “clang”.
> I’m not a CMake expert, and I might be wrong.
It is not impossible, it would just involve excessive hacks. Since it
2009 Mar 01
4
Best CentOS to install on *old* laptop?
I've found an old IBM OmniBook 800 and am curious whether I can get it
going again. (Currently it boots either Windows 95 or some
then-contemporary version of Slackware.) The CDROM is external (SCSI,
I think) and the machine won't boot from it, so it'd require a boot
floppy. Any suggestions? Or is CentOS entirely the wrong Linux to be
thinking about for this?
2017 May 09
2
moving libfuzzer to compiler-rt?
> On May 9, 2017, at 3:00 PM, Kostya Serebryany <kcc at google.com> wrote:
>
> Thanks for the explanations! (it was worth asking)
>
> I do want to build libFuzzer itself (and its tests) using the just-built clang. So, llvm/runtimes then.
> I'd name the directory llvm/runtimes/libFuzzer, if possible (the old path was lib/Fuzzer which is how the tool got it's
2017 May 11
2
moving libfuzzer to compiler-rt?
> On May 10, 2017, at 4:43 PM, George Karpenkov via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Actually, there’s another problem we have missed: libraries under `build/lib` are not installed into toolchain
> on mac os (and neither on linux, I would suppose).
Actually that isn't accurate. By default we don't install the LLVM libraries, but that is completely
2006 Jan 27
2
Ruby sprintf style question
In a rails app I have a sprintf("#0.2f",x.price) formatted value
that may be nil. What is the preferred (short-elegant-terse) ruby
way of testing for this and displaying a substitute text ("n/a") in
place of the missing numeric value?
Regards,
Jim
--
*** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne
2007 Feb 14
0
sprintf error clustering with rattle
Hi,
I'm an italian R (and data mining) beginner.
I installed R, Rattle and rggobi with no trouble.
But I'm not able to do clustering (both kmean and hierarchical).
When I press F5 in Rattle Cluster tab nothing happens (and no log rows in
the Log Tab).
On the R console I get the following error (in italian):
"Errore in sprintf(fmt, ...) : argomento di lunghezza zero" (it means
2007 Oct 02
2
using sprintf with dates
hello,
Please help with using sprintf with character variables:
The following does not produce what i intended
foot=function(){
str1=format(Sys.Date,"%Y%m%d")
sprintf("99%-4s%s","nm",str1)
}
I wanted to have "99nm 20071002" as the output.
2003 Jun 27
1
sprintf("%c",...)
How does one get the character that corresponds to a number? Also
the inverse?
The %c format code is not supported by the R sprintf function and I
could not find another way to do it.
2007 Nov 26
1
[LLVMdev] How to declare and use sprintf
Hello, Jon
> What is the correct way to do this?
FunctionType constructor takes extra boolean for marking a varargs
function.
There is some trick: feed your bytecode to llvm2cpp tool and you'll get
C++ source, which will construct the module you provided. From this
source you can see, how different things can be created via LLVM API.
--
With best regards, Anton Korobeynikov.
Faculty
2001 May 18
0
patch to change sprintf to snprintf in inet_ntop.c for SunOS4
I found that inet_ntop.c was depending on the return value of sprintf to
return an int, but on SunOS4 it returns a char *. Snprintf is preferred
anyway, so here's a patch to change the calls to use snprintf. Applies
cleanly to the current CVS, and it was the only patch I need to apply to
get 2.9p1 to build on SunOS4.1.4.
On the other hand, I can't see any where inet_ntop is called, and
2020 Mar 28
0
[klibc:master] Suppress format truncation warnings for sprintf() and vsprintf()
Commit-ID: d8e32d95a1bff2639f9ede9eae9b07b53f37bdac
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d8e32d95a1bff2639f9ede9eae9b07b53f37bdac
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 28 Mar 2020 21:57:26 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:57:26 +0000
[klibc] Suppress format truncation
2002 May 16
0
Re: [R] NaN/NA and sprintf double format (PR#1561)
ripley@stats.ox.ac.uk wrote:
>
> On Tue, 14 May 2002, Dirk Eddelbuettel wrote:
>
> > With a (late prerelease of) 1.5.0 on Windows, using sprintf on NaN
> > yields garbage when the number of decimal is specified while it
> > works fine for NA:
> >
> > > sprintf("%.2f", NA)
> > [1] "0.00"
>
> I get that on Linux too, but