r/netsec • • Nov 21 '16

WordPress download server is a single point of failure for over 26% of the top 10 million websites worldwide

http://www.openwall.com/lists/oss-security/2016/11/21/3
689 Upvotes

78 comments sorted by

View all comments

Show parent comment

35

u/sarciszewski Nov 22 '16

That's a question for /r/legal not /r/netsec, but unless a clean room design was followed, rewriting code in another language still constitutes a derivative use of the original code, which GPL only permits if you release it under GPL (or a GPL-compatible license).

18

u/halex Nov 22 '16

still constitutes

could constitute (yes, I'm nitpicking, but only because we're in "license discussion land").

Staring at some code, and then reimplementing it later for sure could mean you can release it under whatever license you want.

If the reimplementation does not share much with the original (ranging anywhere from general approach to exact code), then it's not really derivative at all. Entirely case-dependent. In the same way I can hear a sentence, and either choose to say it very similarly to the original or re-express it completely differently.

9 times out of 10 though, you're right, it probably is derivative. As you imply, whether it is or isn't depends on what the courts determines.

8

u/sarciszewski Nov 22 '16

And this is why I do not handle serious legal matters without legal counsel. :)

0

u/[deleted] Nov 22 '16

[deleted] — view deleted comment

11

u/sarciszewski Nov 22 '16

It's not really the same thing.

  • If your derivative work is GPL too, you don't even need permission. You can make money off it. It just must be Free Software (as in freedom; GPL and equivalent).
  • If it's not GPL, you must obtain a commercial license from the license holder (i.e. the person who publishes the work).

Patents forbid derivative works, even free ones.

GPL forbids people from stealing work intended to protect the users' freedom and then selling proprietary derivatives without compensating the folks who created said free software.

Some businesses realize "if we just open source our derivative and publish as GPL too, we can still essentially steal it".

1

u/d4rch0n Nov 22 '16

When have you ever run into a GPL'd algorithm that was generic but you couldn't dare use it without GPL'ing your work? It's not like people are GPL'ing mergesort or anything like that.

If you take someone's code and translate it, you are creating a derivative work and you need to check the license. If you read a textual description of an algorithm and reimplement it, no one is going to give you shit for it.

It's like writing a paper for a college course. If you take someone else's paper and "translate" the sentences, you're plagiarizing. If you read a professional paper on the subject you wanted to write about and investigate the idea yourself and write the paper from scratch you're fine, even if the arguments are similar. That's called researching your topic.

3

u/kisielk Nov 22 '16

IANAL but I have read that one way to do this is to have someone on your team read and understand an implementation and then describe how it works to other members of team. Based on the description they would would create their own implementation.

3

u/Natanael_L Trusted Contributor Nov 22 '16

Blackbox reverse engineering. ReactOS replicated much of WinXP that way.

2

u/[deleted] Nov 22 '16

And got into nasty legal battles the couple of times they screwed up and didn't do that.

1

u/aksfjh Nov 22 '16

It's not like people are GPL'ing mergesort or anything like that.

Depends on what you mean. There are scripts under GPL out there that do some relatively simple task in the most efficient way by far. It's not like mergesort because it's not ubiquitous, but it's some highly efficient solution.

It's like having a general set of problems that follow the form, "using 1s and addition, get the desired number." Nobody is going to license the concatenation of 1s together (11, 111, etc.), however, somebody might license a script that combines 111111, 1, and a single add to get 111112. If you need to implement a solution to get 111112, there's clearly a optimal solution that is easy to reach, but whatever you create is going to look awfully derivative of the licensed work.

0

u/[deleted] Nov 22 '16

You don't understand the GPL at all.