AIX > Administration

CVE-2019-5482

(1/2) > >>

quadrazontal:
Hi.  Hoping to suggest an update to libcurl. 

Michael:
Not been watching curl well enough. Will have it up shortly.

Thx for pointing this out!

Michael:
Almost there - have a new libssh2 (that I link to statically), however, I am running into a build issue regarding the macro/constant AF_LOCAL.

That is not in the AIX include files (socket.h), so I need to chat and find out of AF_LOCAL is an "alias" for AF_UNIX.

currently, stopping with:
+ /opt/bin/make > .buildaix/make.out
"../../src/curl-7.66.0/lib/asyn-thread.c", line 248.17: 1506-045 (S) Undeclared identifier AF_LOCAL.
make[2]: *** [Makefile:2190: libcurl_la-asyn-thread.lo] Error 1
make[1]: *** [Makefile:1046: all] Error 2
make: *** [Makefile:946: all-recursive] Error 1

Michael:
So after reading this: https://lists.gnu.org/archive/html/bug-gnulib/2012-04/msg00057.html

I did this change:

/*
 * Address families.
 */
#define AF_UNSPEC       0               /* unspecified */
#define AF_UNIX         1               /* local to host (pipes, portals) */
#define AF_LOCAL        AF_UNIX
#define AF_INET         2               /* internetwork: UDP, TCP, etc. */
#define AF_IMPLINK      3               /* arpanet imp addresses */
...
and built, however...

After this change the build fails with:

+ /opt/bin/make > .buildaix/make.out
ld: 0711-317 ERROR: Undefined symbol: .curl_multi_poll
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

I have opened the following issue. Feel free to comment, should you feel so inclined.

https://github.com/curl/curl/issues/4390

Michael:
Packaged and posted (32-bit version only).

Packaged on AIX 5.3 TL7 (currently rebuilding, was AIX 6.1) because that is the confirmed support on haex.se.

Note: a fix was needed was already done which I manually applied.

Again, thx for pointing this out!

Navigation

[0] Message Index

[#] Next page

Go to full version