Displaying 3 results from an estimated 3 matches for "ogenerator".
Did you mean:
generator
2019 Oct 03
2
[PATCH] Avoiding Dereferencing of NULL pointer
...duli.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/moduli.c b/moduli.c
index 578fc48..c1fa484 100644
--- a/moduli.c
+++ b/moduli.c
@@ -153,12 +153,14 @@ static int
qfileout(FILE * ofile, u_int32_t otype, u_int32_t otests, u_int32_t otries,
u_int32_t osize, u_int32_t ogenerator, BIGNUM * omodulus)
{
- struct tm *gtm;
+ struct tm *gtm = NULL;
time_t time_now;
int res;
time(&time_now);
gtm = gmtime(&time_now);
+ if (!gtm)
+ return (-1);
res = fprintf(ofile, "%04d%02d%02d%02d%02d%02d %u %u %u %u %x ",
gtm->tm_year + 1900, gtm->tm...
2013 Apr 11
0
[PATCH] Btrfs-progs: enhance 'btrfs subvolume list'
"btrfs subvolume list" gets a new option "--fields=..." which allows
to specify which pieces of information about subvolumes shall be
printed. This is necessary because this commit also adds all the so
far missing items from the root_item like the received UUID, all
generation values and all time values.
The parameters to the "--fields" option is a list of items to
2009 Jan 02
0
[LLVMdev] TableGen crash
TableGen crashes while building llvm when it tries to generate
/llvm/tools/llvmc/plugins/Base/AutoGenerated.inc from
/llvm/tools/llvmc/plugins/Base/Base.td
As a result AutoGenerated.inc is full of garbage and it's not possible
to proceed any further.
I've debugged TableGen and found out that it dies somewhere in
EmitForwardOptionPropertyHandlingCode().
I've modified