Modify ↓
#4006 closed Bug (No Bug)
incomplete read missing key in IniReadSection
Reported by: | itdev721@… | 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)
Changed 8 months ago by itdev721@…
comment:1 Changed 8 months ago by itdev721@…
This function is also broken in the latest version 3.3.16.1
comment:3 Changed 8 months ago by Jos
- Resolution set to No Bug
- Status changed from new to 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 Changed 8 months ago by itdev721@…
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
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
is the file that contains the test and read script code