Modify ↓
Opened on Apr 16, 2024 at 1:32:07 AM
Closed on Apr 16, 2024 at 8:26:59 AM
Last modified on Apr 16, 2024 at 2:21:37 PM
#4006 closed Bug (No Bug)
incomplete read missing key in IniReadSection
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | IniReadSection | Cc: |
Description
incomplete read missing key in IniReadSection
when the value length is too large or there is an error for some reason.
Attachments (1)
Change History (4)
by , on Apr 16, 2024 at 1:33:55 AM
| Attachment: | BUG_AUTOIT_IniReadSection.rar added |
|---|
comment:1 by , on Apr 16, 2024 at 1:42:49 AM
This function is also broken in the latest version 3.3.16.1
comment:3 by , on Apr 16, 2024 at 8:26:59 AM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
The IniRead() function isn't broken and uses the standard GetPrivateProfileString() from the kerner32.dll which has a limitation for:
[in] nSize The size of the buffer pointed to by the lpReturnedString parameter, in characters. The maximum profile section size is 32,767 characters.
comment:4 by , on Apr 16, 2024 at 2:21:37 PM
yes i understand. Thank you very much.
and I have a suggestion to add a size limit note every time the developer uses this function. to avoid duplicate bug reports
Note:
See TracTickets
for help on using tickets.

is the file that contains the test and read script code