24 Feb
2010
24 Feb
'10
10:12 p.m.
I found that in bb-hosts you can not indent "include" lines. IE the lines can't start with white space. I found that in lib/stackio.c the buffer was not getting "sanitize"d: Index: lib/stackio.c =================================================================== --- lib/stackio.c (revision 6223) +++ lib/stackio.c (working copy) @@ -408,6 +408,7 @@ result = unlimfgets(buffer, fdhead->fd); if (result) { + sanitize_input(buffer, 0, 0); if ( (strncmp(STRBUF(buffer), "include ", 8) == 0) || (extraincl && (strncmp(STRBUF(buffer), extraincl, strlen(extraincl)) == 0)) ) { char *newfn, *eol;
5964
Age (days ago)
5964
Last active (days ago)
0 comments
1 participants
participants (1)
-
cade.robinson@gmail.com