So I put a sample of code in a paper to explain an algorithm and I can no longer use that code, or include it in a GPLed work?
In fact between my university's policy that it owns anything I do that can be commercially exploited, the journal claiming it owns everything and I can't post it online and the various different international laws on software patents and publishing code that has anything to do with crypto/security - in theory I would spend a year talking to lawyers before publishing each paper.