[Bug 1173718] VUL-1: libmicrohttpd: buffer overflow issue in URL parser
https://bugzilla.suse.com/show_bug.cgi?id=1173718
https://bugzilla.suse.com/show_bug.cgi?id=1173718#c7
Andreas Stieger
Furthermore, the release introduces an 'enum MHD_Result' instead of #defines for MHD_YES/MHD_NO. This is intended to make it easier to check for certain API misuse bugs by providing better types (not everything is an 'int'). While this does NOT change the binary API, this change _will_ cause compiler warnings for all legacy code -- until 'int' is replaced with 'enum MHD_Result'.
If you want your code to build without warnings on both older and newer MHD releases, you may want to introduce a MHD_RESULT as done here:
https://git.gnunet.org/gnunet.git/tree/src/include/gnunet_mhd_compat.hml
So a compatibility stub would be: #if MHD_VERSION >= 0x00097002 #define MHD_RESULT enum MHD_Result #else #define MHD_RESULT int #endif -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com