Skip to content

Instantly share code, notes, and snippets.

View velavokr's full-sized avatar

Ruslan Kovalev velavokr

  • Firebolt
  • Israel
  • 01:25 (UTC +02:00)
View GitHub Profile
@velavokr
velavokr / zstd_crash_reader.c
Created June 21, 2016 17:49
The minimal code needed to reproduce the ZDICT_trainFromBuffer crash
#include <assert.h>
#include <fcntl.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <zdict.h>