reberhardt7 / cplayground

GNU General Public License v3.0
115 stars 14 forks source link

Store program output as a blob/buffer instead of a varchar/string #29

Open reberhardt7 opened 4 years ago

reberhardt7 commented 4 years ago

Program output is being logged to the database as a varchar. However, this may cause problems since programs can output arbitrary byte sequences. We should change the output type in the server code to be a Buffer (instead of a string), and we should add a database migration to store this output as a blob.