[vbox-dev] VBox has a malicious code that disables "Disable Auto Capture keyboard" option.

Michael Thayer michael.thayer at oracle.com
Fri Jul 22 06:17:14 PDT 2011

On Thursday 21 July 2011 08:38:38 crocket wrote:
> On lines 620-623 in UIKeyboardHandler.cpp,
> /* Reset the single-time disable capture flag: */
> if (isAutoCaptureDisabled())
>     setAutoCaptureDisabled(false);
> break;
> Those lines seem to disable "Disable Auto Capture keyboard" option.
> Am I right?
I am not the author of those lines, but happened to read that code
recently.  The comment which you included above pretty much answers your
question.  You are apparently being misled by the name, but
setAutoCaptureDisabled() disables an internal flag, not the "Disable
Auto Capture keyboard" option.


ORACLE Deutschland B.V. & Co. KG   Michael Thayer
Werkstrasse 24                     VirtualBox engineering
71384 Weinstadt, Germany           mailto:michael.thayer at oracle.com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven

More information about the vbox-dev mailing list