NeoMutt  2025-01-09-117-gace867
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
date.c
Go to the documentation of this file.
1#include "config.h"
2#include <signal.h>
3#include <stdbool.h>
4#include <stdint.h>
5#include <time.h>
6#include "mutt/lib.h"
7
8bool StartupComplete = true;
9
10int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
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}
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
Definition: date.c:10
bool StartupComplete
Definition: date.c:8
time_t mutt_date_parse_date(const char *s, struct Tz *tz_out)
Parse a date string in RFC822 format.
Definition: date.c:716
Convenience wrapper for the library headers.
List of recognised Timezones.
Definition: date.h:50