NeoMutt  2025-01-09-117-gace867
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
date.c File Reference
#include "config.h"
#include <signal.h>
#include <stdbool.h>
#include <stdint.h>
#include <time.h>
#include "mutt/lib.h"
+ Include dependency graph for date.c:

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 

Variables

bool StartupComplete = true
 

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 10 of file date.c.

11{
12 if (size > 512)
13 return -1;
14
15 struct Tz tz = { 0 };
16 time_t t = mutt_date_parse_date((const char *) data, &tz);
17 return 0;
18}
time_t mutt_date_parse_date(const char *s, struct Tz *tz_out)
Parse a date string in RFC822 format.
Definition: date.c:716
List of recognised Timezones.
Definition: date.h:50
+ Here is the call graph for this function:

Variable Documentation

◆ StartupComplete

bool StartupComplete = true

Definition at line 8 of file date.c.