cURL / Mailing Lists / curl-library / Single Mail

curl-library

Fw: [PATCH] lib/nonblock.c /Amiga/

From: Norbert Kett via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 27 Nov 2015 20:32:22 +0000 (UTC)

hello,
i use it for AmigaOS 3.1 with amitcp. the mentioned function waits a char* 
for the last parameter, but uses it for a longword read. if you pass 1, it 
will lead to a longword read from address 0x1. it is not causing crash, nor 
malfunction, but it is clearly visible by enforcer if you turn it on.the parameter format of this function is not changed since 1994.
if you reading a longword from address 0 you will get zero.
if you reading a longword from address 1 you will get non-zero.so this function worked as intended, but it was just a random thing.
regards,

 Norbert Kett
Lead Programmer4Flash Interactivephone: +36202500441http://fourflash.com

 

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-27