View Issue Details

IDProjectCategoryView StatusLast Update
0000145Kolibri OS (trunk)Kernelpublic2021-11-02 22:15
Reporterdunkaist Assigned ToDoczom  
Status closedResolutionfixed 
PlatformAny x86 / Любой x86OSKolibriOSOS VersionSVN autobuilds
Product VersionSVN build / автосборка SVN 
Target VersionSVN build / автосборка SVNFixed in VersionSVN build / автосборка SVN 
Summary0000145: is_region_userspace breaks sf4 for asciiz string and large esi
DescriptionIn sf4 (output string):
 - For non-asciiz string, its length is in esi;
 - For asciiz string, esi is ignored.

So for asciiz string is_region_userspace can't use the value of esi register.

Currently, valid programs don't output asciiz strings if esi happened to be too big.
Steps To ReproduceCall sf4 with ecx=0x80000000 and esi=-1.
Tagsfasm, kernel, safety
SVN revision / ревизия SVN
Type of distribution / Тип дистрибутиваany / любой


Issue History

Date Modified Username Field Change
2021-10-14 23:46 dunkaist New Issue
2021-10-14 23:47 dunkaist Status new => confirmed
2021-10-14 23:47 dunkaist Tag Attached: fasm
2021-10-14 23:47 dunkaist Tag Attached: kernel
2021-10-14 23:47 dunkaist Tag Attached: safety
2021-10-14 23:50 dunkaist Note Added: 0000219
2021-11-02 22:15 Doczom Note Added: 0000224
2021-11-02 22:15 Doczom Status confirmed => closed
2021-11-02 22:15 Doczom Assigned To => Doczom
2021-11-02 22:15 Doczom Resolution open => fixed
2021-11-02 22:15 Doczom Fixed in Version => SVN build / автосборка SVN