asprintf related fixed in yy parser
asprintf related fixed in yy parser

1. According to man asprintf:
   If memory allocation wasn't possible, or some other error occurs,
   these functions will return -1, and the contents of strp is undefined.
2. Sometimes, errp was not filled at all. In high-level code, free(errp)
   will called, so segmantation fault may appear in case of error in parser
3. The most cases of using asprintf is to report about allocation fail.
   So, probability of allocation of asprintf buffer is very high. And that
   will lead to trash in errp.
4. For simple casses I decide to replace asprintf with strdup

dsahern/libnl,tgraf/libnl,congwang/libnl,Distrotech/libnl,cyclops8456/libnl3,greearb/libnl-ct,chitranshi/libnl,congwang/libnl,dsahern/libnl,UnicronNL/libnl3,teto/libnl_old,mshirley/libnl,houstar/libnl,karlhiramoto/libnl,houstar/libnl,chitranshi/libnl,Distrotech/libnl,claudelee/libnl,claudelee/libnl,greearb/libnl-ct,teto/libnl_old,cfriedt/libnl,HolyShitMan/libnl-1,mshirley/libnl,tklauser/libnl,vyos/libnl3,karlhiramoto/libnl,Distrotech/libnl,honsys/libnl,mshirley/libnl,HolyShitMan/libnl-1,tklauser/libnl,UnicronNL/libnl3,baloo/libnl,thom311/libnl,dsahern/libnl,chitranshi/libnl,kolyshkin/libnl,HolyShitMan/libnl-1,baloo/libnl,honsys/libnl,cyclops8456/libnl3,tgraf/libnl,vyos/libnl3,vyos/libnl3,mshirley/libnl,teto/libnl_old,congwang/libnl,baloo/libnl,claudelee/libnl,cfriedt/libnl,houstar/libnl,thom311/libnl,cfriedt/libnl,baloo/libnl,houstar/libnl,vyos/libnl3,tgraf/libnl,kolyshkin/libnl,teto/libnl_old,UnicronNL/libnl3,tgraf/libnl,UnicronNL/libnl3,greearb/libnl-ct,karlhiramoto/libnl,kolyshkin/libnl,kolyshkin/libnl,karlhiramoto/libnl,Distrotech/libnl,cyclops8456/libnl3,cyclops8456/libnl3,HolyShitMan/libnl-1,honsys/libnl,honsys/libnl,claudelee/libnl,dsahern/libnl,cfriedt/libnl,chitranshi/libnl,tklauser/libnl,thom311/libnl,tklauser/libnl,congwang/libnl