Package: mingw-w64-common
Version: 4.0.4-2
Severity: normal
File: /usr/share/mingw-w64/include/comutil.h

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The function is defined as follows:

    namespace _com_util {
      inline void CheckError(HRESULT hr) throw() {
        if(FAILED(hr)) { _com_issue_error(hr); }
      }
    }

but _com_issue_error is defined as:

    inline void _com_issue_error(HRESULT hr) {                                  
                               
    #if __EXCEPTIONS
        throw _com_error(hr);
    #else
        /* This is designed to use exceptions. If exceptions are disabled, 
there is not much we can do here. */
        __debugbreak();
    #endif
    }

so actually calling it with a failed HRESULT crashes the program. I
think the empty exception specification should simply be dropped.

- -- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (550, 'stable-updates'), (550, 'stable'), (530, 'testing'), (520, 
'unstable'), (510, 'experimental'), (500, 'unstable-debug'), (500, 
'testing-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJW1ccXAAoJENILQgJc2ie5v4IP/0wqoFQLWUZqYDSRabd3qbzi
2JnCT535QTcixDCgwi1YH/ajL0DiRn91AOTFacO57xyY70zRtfXPVb+VXws8Q9gw
8beteV+dT4C6AkggqqTjw9DjLRA99aIZVaaUPlum/H+wnq4+/FPyXTFgqEDUVJ1C
GDurhD5BolKKDw0khPnuCzH4zbvkX6tOYMNXFisIDmIYgQKr4+SMyJ3QOKxPm8bT
O/havLKZLI6aaXrkYc/7k+0ysoP6LubsJwOjKxpR3vJXWJz0rXYIOjrjGqzM2XPC
v/LD1DKq07RVe5FxloYtWTCxBAOe3qBjOSXZxWYJsiwwgB4QJWHn+tdam/8eQQ5y
aAto4uG1zhlhZiR/j1r8XVcVHM3EFjhXdaKJHTb6Bp8KZyfGT4xfqxcFxHWcCNau
EXUSm9chyMwjmhrUJm8fxQ0WCiaSr6QRb9HuqlfLNR08x+JlEAsqM9F6m3R0Flrw
heh1/LB4peaoy6GdaoW7PKBP/hwGNi4aM01Ek/lvHwOwK5O79tNLGu2wlJlKbWoj
tGW1PVjah8/SD4WfnrQxpQsDwNcGpU02YRKxUKN14zno+an8zxfvK5+QMzs+YJV0
rTFB02wVHqpYxlJQRA0ZSzFcO4hHR6LGgxCNPCV/ZPJA+QiQsYaQ8w/bLcCWksZ3
1399kl9s5tuLpaY0dzFW
=AIp8
-----END PGP SIGNATURE-----

Reply via email to