NeoMutt  2024-04-25-1-g3de005
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 <stdint.h>
4#include <sys/stat.h>
5#include "mutt/lib.h"
6
7int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
8{
9 if (size > 512)
10 return -1;
11
12 struct Tz tz = { 0 };
13 time_t t = mutt_date_parse_date((const char *) data, &tz);
14 return 0;
15}
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
Definition: date.c:7
time_t mutt_date_parse_date(const char *s, struct Tz *tz_out)
Parse a date string in RFC822 format.
Definition: date.c:715
Convenience wrapper for the library headers.
List of recognised Timezones.
Definition: date.h:50