English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System > Coders. Nextgen

 
 
Thread Tools
Old 17 April 2020, 19:26   #1
coldacid
WinUAE 4000/40, V4SA
 
coldacid's Avatar
 
Join Date: Apr 2020
Location: East of Oshawa
Posts: 538
[OS4] newlib 53.30 bug in read()

Since Hyperion takes forever to activate registrations for their forums, I'll complain here instead. Anyway, the contract for the POSIX standard
ssize_t read(int fd, void *buf, size_t count)
function is that the return value needs to be in the range -1 <= retval < count. However, when fd is stdin there are situations where count is less than the return value.


So far it happens when terminal attributes are changed to disable echoing and canonical input, and minimum read is set to 1. I'm working on producing a test case that reproduces the bug which I'll add here later.

Last edited by coldacid; 17 April 2020 at 19:46.
coldacid is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read me first RCK New to Emulation or Amiga scene 20 10 April 2022 22:50
WinUAE Enforcer hit: illegal read from 0 by ROM = bug ? PeterK support.WinUAE 7 19 November 2017 18:56
Bug in x64 file requester and bug in Blizzard PPC ROM filesize headkase support.WinUAE 5 26 June 2016 14:17
I always get a read error when installting OS4.1 FE in WinUAE jonssonj support.WinUAE 5 05 February 2015 06:00
OS4 update - A late xmas present from the OS4 team Paul News 1 28 December 2004 20:48

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:59.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11245 seconds with 15 queries