Changeset d4f7236 in git


Ignore:
Timestamp:
Feb 6, 2022, 2:04:32 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
55567a3a63e03547212343713b04aadd7a42212c
Parents:
04e6cf84306e8d7d555ff8e01f5a55926be073c0
Message:
fix: acccess to undefined
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/reporter/reporter.cc

    r04e6cf rd4f7236  
    345345    va_list ap;
    346346    va_start(ap, fmt);
    347     int l;
     347    int l=0;
    348348    long ls=strlen(fmt);
    349     char *s=(char *)omAlloc(ls+512);
     349    char *s=(char *)omAlloc0(ls+512);
    350350#ifdef HAVE_VSNPRINTF
    351351    l = vsnprintf(s, ls+511, fmt, ap);
Note: See TracChangeset for help on using the changeset viewer.