Changeset ebbeb39 for text.c


Ignore:
Timestamp:
Sep 28, 2009, 11:23:00 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
61de085
Parents:
1373d35
git-author:
Anders Kaseorg <andersk@mit.edu> (09/28/09 23:04:23)
git-committer:
Anders Kaseorg <andersk@mit.edu> (09/28/09 23:23:00)
Message:
owl_text_quote: Don’t leak a kretch-sized buffer.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • text.c

    re19eb97 rebbeb39  
    316316  toquote_len=strlen(toquote);
    317317  quotestr_len=strlen(quotestr);
    318   out=owl_malloc((in_len*quotestr_len)+30);
    319318  place=0;
    320319  escape = 0;
Note: See TracChangeset for help on using the changeset viewer.