[DiscordArchive] Is this a possible source of crashes?
[DiscordArchive] Is this a possible source of crashes?
Archived author: Berti • Posted: 2021-11-21T14:08:27.253000+00:00
Original source
Is this a possible source of crashes?
```
for (AuraScript* & scriptItr : m_loadedScripts)
for (std::vector<AuraScript*>::iterator scritr = m_loadedScripts.begin(); scritr != m_loadedScripts.end(); ++scritr)
```
Is the same thing use a reference to pointer that a iterator not?
Archived author: ModoX • Posted: 2021-11-21T14:14:14.731000+00:00
Original source
if the memory your pointer is pointing to or the pointer is null it may lead to crashes when try to access it
Archived author: yu.coder • Posted: 2021-11-21T14:15:37.229000+00:00
Original source
my bad
Archived author: Berti • Posted: 2021-11-21T14:18:04.841000+00:00
Original source
But will happen the same thing with Iterator not <@!216234897390436353>
Archived author: Berti • Posted: 2021-11-21T14:18:05.792000+00:00
Original source
?
Archived author: jackpoz • Posted: 2021-11-21T14:57:14.078000+00:00
Original source
<@!113828890622951432> I guess you are afk
Archived author: KingPin • Posted: 2021-11-21T14:57:37.887000+00:00
Original source
was sleeping, sup
Archived author: KingPin • Posted: 2021-11-21T14:58:08.066000+00:00
Original source
o
Archived author: KingPin • Posted: 2021-11-21T14:58:12.517000+00:00
Original source

Archived author: KingPin • Posted: 2021-11-21T15:02:08.444000+00:00
Original source
<@799914420670038026> please read <#885452689339715604> especially #12, no hiring of people or money/crypto payments