summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/hideset.c
AgeCommit message (Collapse)Author
2015-09-24cpp: fix memory corruption due to input buffer relocationcinap_lenrek
the dynamic input buffer resize code (fillbuf()) is broken as the calling code assumes that memory wont relocate. instead of trying to work out all the cases where this happens, i'm getting rid of fillbuf() and just read the whole file into memory in setsource(). the bug could be reproduced with something as simple as: @{for(i in `{seq 1 10000}){echo $i ', \'; }} | cpp
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen