question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Legal] Found IP issue in the Kura port for Windows

See original GitHub issue

Two legal/IP issues have been found in the following commit:

https://github.com/eclipse/kura/commit/741220741bf613a43040afaa890f37f96ccf0c6d

  • In kura/distrib/src/main/resources/Win64-nn/Kura_x64.nsi the macro _ReplaceInFile is not an original work by Martin Malik but has been copied from the NSIS web site. No CQ has been filed for this code snippet.
  • In target-platform/org.eclipse.kura.windows.launcher/src/main/c/main.c and target-platform/org.eclipse.kura.windows.service/src/main/c/main.c the function str_replace is not an original work of Martin Malik but has been copied from Stack Overflow. No CQ has been filed for this code snippet.

The offending commit above appeared on the Kura develop branch after the latest Kura 2.0.1 release. No Kura release has been issued including this commit.

Martin Malik is working to provide alternative and original implementations of _ReplaceInFile and str_replace to amend the commit above.

@malikm Can you please identify the license for each of the two functions above?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:40 (40 by maintainers)

github_iconTop GitHub Comments

1reaction
malikmcommented, Oct 7, 2016

OK then let’s do the following first:

This should be done by replacing the original Windows commits (https://github.com/eclipse/kura/pull/313 and https://github.com/eclipse/kura/pull/319) with sanitized ones (rebase).

Does everybody agree with this ?

Edit: Oh we have a Like button here as well 😃

0reactions
cdealticommented, Oct 21, 2016

I’ve rewritten the repository history. This can be closed.

git filter-branch --index-filter 'git rm --cached --ignore-unmatch \
./kura/distrib/src/main/resources/Win64-nn/Kura_x64.nsi \
./target-platform/org.eclipse.kura.windows.launcher/src/main/c/main.c \
./target-platform/org.eclipse.kura.windows.service/src/main/c/main.c \
./target-platform/org.eclipse.kura.windows.system/src/main/bin/Win32/x64/KuraNativeWin.dll \
./target-platform/org.eclipse.kura.windows.system/src/main/bin/Win32/x86/KuraNativeWin.dll \
./target-platform/org.eclipse.soda.dk.comm/src/main/c/Release/win32/x64/dkcomm.dll \
./target-platform/org.eclipse.kura.windows.launcher/src/main/bin/Win32/x64/KURALauncher.exe \
./target-platform/org.eclipse.kura.windows.launcher/src/main/bin/Win32/x86/KURALauncher.exe \
./target-platform/org.eclipse.kura.windows.service/src/main/bin/Win32/x64/KURAService.exe \
./target-platform/org.eclipse.kura.windows.service/src/main/bin/Win32/x86/KURAService.exe \
' develop

git push -f origin develop
Read more comments on GitHub >

github_iconTop Results From Across the Web

Eclipse Community Forums: Kura » firewall warning
Hello, I would suggest you to perform the following steps: 1. Open port 1234 (or the port on which the server is listening...
Read more >
TCP/IP port exhaustion troubleshooting - Windows Client
Learn how to troubleshoot port exhaustion issues. Port exhaustion occurs when all the ports on a machine are used.
Read more >
Guidance for troubleshooting TCP/IP communication
Introduces general guidance for troubleshooting scenarios related to TCP/IP communication.
Read more >
How to configure RPC to use certain ports and how to help ...
Explains how to force ports to use certain ports and then secure those ports by using IPsec. This procedure is performed at a...
Read more >
Configure firewall for AD domain and trusts - Windows Server
The new default start port is 49152, and the default end port is 65535. Therefore, you must increase the RPC port range in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found