#include "parse_dns_reply.h"
#include "../../../../../lib/stubs.h"

#define DATA 100

int main (void)
{
  unsigned char *p;
  int size;
  char *rr_txt;

  *p = nondet_unsigned_char ();
  size = *p;

  rr_txt = (char *) malloc (size + 1);
  if (rr_txt == 0)
    return 0;

  /* OK */
  strncpy (rr_txt, (char *) p + 1, *p);
  /* OK */
  rr_txt[*p] = 0;
}
