uninitialized.
This would randomly cause preproc to fail.
char *ulas_preprocexpand2(struct ulas_preproc *pp, const char *raw_line,
unsigned long *n, int recursive);
void ulas_preprocexpand_rec(struct ulas_preproc *pp) {
- unsigned long n;
+ unsigned long n = 0;
/* expand macro result again to allow
* defines to appear in the macro
*/
struct ulas_preproc ulas_preprocinit(void) {
int i;
struct ulas_preproc pp;
+ memset(&pp, 0, sizeof(pp));
pp.defs = NULL;
pp.defslen = 0;
pp.tok = ulas_str(1);