Author Topic: ListBoxLoadFile and ComboBoxLoadFile wrong buffer length  (Read 1215 times)

Michael Henning

  • Newbie
  • *
  • Posts: 44
    • View Profile
ListBoxLoadFile and ComboBoxLoadFile wrong buffer length
« on: March 10, 2020, 07:28:56 PM »
The buffer length is set to 1 meg but the buffer allocated is the maxstringlength (2048). The 1 meg should be reduced to the actual buffer size.

Thanks,
Mike H.

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1885
    • View Profile
Re: ListBoxLoadFile and ComboBoxLoadFile wrong buffer length
« Reply #1 on: March 10, 2020, 09:11:50 PM »
Thanks Mike ...

Since these are line oriented functions, I'm going to impose a hard 2048 limit.

« Last Edit: March 11, 2020, 09:38:29 AM by MrBcx »