VirtualBox

Changeset 93402 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 21, 2022 11:53:41 PM (3 years ago)
Author:
vboxsync
Message:

SharedClipboard/win: Fixed off by 2 calculation in SharedClipboardWinConvertMIMEToCFHTML as well as a testcase for it. Made SharedClipboardWinConvertCFHTMLToMIME accept zero length fragments because SharedClipboardWinConvertMIMEToCFHTML can produce them. [scm fixes] bugref:10160

Location:
trunk/src/VBox/HostServices/SharedClipboard/testcase
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/VBoxOrgCfHtml1.h

    r93401 r93402  
     1/* $Id$ */
     2/** @file
     3 * Shared Clipboard host service test case C data file of VBoxOrgCfHtml1.txt.
     4 */
     5
    16/*
    2  * This file was automatically generated
    3  * from VBoxOrgCfHtml1.txt
    4  * by E:\vbox\svn\trunk\out\win.amd64\debug\obj\bin2c\bin2c.exe.
     7 * Copyright (C) 2022 Oracle Corporation
     8 *
     9 * This file is part of VirtualBox Open Source Edition (OSE), as
     10 * available from http://www.virtualbox.org. This file is free software;
     11 * you can redistribute it and/or modify it under the terms of the GNU
     12 * General Public License (GPL) as published by the Free Software
     13 * Foundation, in version 2 as it comes in the "COPYING" file of the
     14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    516 */
     17
     18#ifndef VBOX_INCLUDED_SRC_VBoxOrgCfHtml1_h
     19#define VBOX_INCLUDED_SRC_VBoxOrgCfHtml1_h
     20#ifndef RT_WITHOUT_PRAGMA_ONCE
     21# pragma once
     22#endif
    623
    724#include <iprt/cdefs.h>
     
    135152
    136153const unsigned g_cbVBoxOrgCfHtml1 = sizeof(g_abVBoxOrgCfHtml1);
    137 /* end of file */
     154
     155#endif /* !VBOX_INCLUDED_SRC_VBoxOrgCfHtml1_h */
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/VBoxOrgMimeHtml1.h

    r93401 r93402  
     1/* $Id$ */
     2/** @file
     3 * Shared Clipboard host service test case C data file of VBoxOrgMimeHtml1.txt.
     4 */
     5
    16/*
    2  * This file was automatically generated
    3  * from VBoxOrgMimeHtml1.txt
    4  * by E:\vbox\svn\trunk\out\win.amd64\debug\obj\bin2c\bin2c.exe.
     7 * Copyright (C) 2022 Oracle Corporation
     8 *
     9 * This file is part of VirtualBox Open Source Edition (OSE), as
     10 * available from http://www.virtualbox.org. This file is free software;
     11 * you can redistribute it and/or modify it under the terms of the GNU
     12 * General Public License (GPL) as published by the Free Software
     13 * Foundation, in version 2 as it comes in the "COPYING" file of the
     14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    516 */
     17
     18#ifndef VBOX_INCLUDED_SRC_VBoxOrgMimeHtml1_h
     19#define VBOX_INCLUDED_SRC_VBoxOrgMimeHtml1_h
     20#ifndef RT_WITHOUT_PRAGMA_ONCE
     21# pragma once
     22#endif
    623
    724#include <iprt/cdefs.h>
     
    122139
    123140const unsigned g_cbVBoxOrgMimeHtml1 = sizeof(g_abVBoxOrgMimeHtml1);
    124 /* end of file */
     141
     142#endif /* !VBOX_INCLUDED_SRC_VBoxOrgMimeHtml1_h */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette