-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds libvnc project #5137
Adds libvnc project #5137
Conversation
Yeah sure - I reckon you need feedback on patch.diff? |
Feedback is indeed especially welcome for patch.diff, but also for the whole process |
To be able to do that, I need some more info on the process and alternatives. Do you have a link to the docs at hand? I know about fuzzing, but am totally missing context info on oss-fuzz. |
Here is the doc about oss-fuzz : https://google.github.io/oss-fuzz/ To test this PR, you can do the following :
|
f1bfbee
to
98d464d
Compare
@bk138 did I supply the right information ? |
Sorry, I'm quite short on time ATM. Will review ASAP! |
Ok, thanks, no rush :-) |
@bk138 are you interested or should I close this ? |
Yeah still interested. I guess that patch.diff would need updating against current master of LibVNCServer. I see that https://github.com/google/oss-fuzz/pull/5137/files#diff-e0270e5ba131ab12d76d5ad60b5c15550192cd186f303703a7a1a286da9ee170 adds some instrumentation in the read and peek functions. Would it be (easily?) possible to just use sockets as you mentioned in #5137 (comment) ? |
Indeed, Proposed in LibVNC/libvncserver#541
I do not think it is easy and I have been having bad experience with it. The classical way to do it in other projects is to have some abstraction to read from, which can be some buffer in memory (as used by fuzzing), some socket, or whatever other object... |
re google/oss-fuzz#5137 for oss-fuzz integration
@alan32liu this PR is ready for review after the fuzz target mas merged upstream cf LibVNC/libvncserver#541 |
Collecting consensus from our team... |
@alan32liu why do not I see libvnc in build status page cf https://oss-fuzz-build-logs.storage.googleapis.com/index.html ? I also get a 404 on the stats cf https://oss-fuzz.com/fuzzer-stats?project=libvnc&fuzzer=libFuzzer&job=libfuzzer_asan_libvnc&group_by=by-fuzzer |
This is strange, I also got 404 on the second link. |
@bk138 would you be interested in continuous fuzzing for libvncserver ?
This PR can enable it with oss-fuzz.
If you are interested, I would be happy to see if we can improve and merge the libvnc patch to make it fuzzable.
(instead of using sockets to read from, we directory read from a buffer)