VirtualBox

Changeset 107634 in vbox


Ignore:
Timestamp:
Jan 10, 2025 11:15:19 AM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166724
Message:

src/VBox/HostDrivers/VBoxUSB/USBFilter.cpp: Fixed warnings found by Parfait (null pointer dereference). Needs backport. jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/USBFilter.cpp

    r107633 r107634  
    597597 * Performs simple pattern matching.
    598598 *
    599  * @returns true on match and false on mismatch.
    600  * @param   pszExpr     The numeric expression.
     599 * @returns \c true on match and \c false on mismatch.
     600 * @param   pszExpr     The numeric expression. NULL is not okay.
    601601 * @param   u16Value    The value to match.
    602602 */
    603603static bool usbfilterMatchNumExpression(const char *pszExpr, uint16_t u16Value)
    604604{
     605    AssertPtrReturn(pszExpr, false);
     606
    605607    /*
    606608     * The string format is: "int:((<m>)|([<m>]-[<n>]))(,(<m>)|([<m>]-[<n>]))*"
Note: See TracChangeset for help on using the changeset viewer.

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