News for hackers. Stuff that matters.
Re:Ask HN: Is personal GitHub information public domain? by JoshTriplett on Tuesday December 27, 2016 @10:26PM (#13268222)
> If you were writing a database library in say Java, how would you know or prevent the user passing you a concatenated string over a string literal?

Extend the language to detect passing a string literal to certain functions or macros. Rust does this for macros that take a format string, like "println!" and "format!". GCC can do this for printf as well. And Perl has taint checking.

There are no comments on this comment yet.