Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Is this a possible source of crashes?

[DiscordArchive] Is this a possible source of crashes?

[DiscordArchive] Is this a possible source of crashes?

rektbyfaith
Administrator
0
11-21-2021, 02:08 PM
#1
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?
rektbyfaith
11-21-2021, 02:08 PM #1

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?

rektbyfaith
Administrator
0
11-21-2021, 02:14 PM
#2
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
rektbyfaith
11-21-2021, 02:14 PM #2

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

rektbyfaith
Administrator
0
11-21-2021, 02:15 PM
#3
Archived author: yu.coder • Posted: 2021-11-21T14:15:37.229000+00:00
Original source

my bad
rektbyfaith
11-21-2021, 02:15 PM #3

Archived author: yu.coder • Posted: 2021-11-21T14:15:37.229000+00:00
Original source

my bad

rektbyfaith
Administrator
0
11-21-2021, 02:18 PM
#4
Archived author: Berti • Posted: 2021-11-21T14:18:04.841000+00:00
Original source

But will happen the same thing with Iterator not <@!216234897390436353>
rektbyfaith
11-21-2021, 02:18 PM #4

Archived author: Berti • Posted: 2021-11-21T14:18:04.841000+00:00
Original source

But will happen the same thing with Iterator not <@!216234897390436353>

rektbyfaith
Administrator
0
11-21-2021, 02:18 PM
#5
Archived author: Berti • Posted: 2021-11-21T14:18:05.792000+00:00
Original source

?
rektbyfaith
11-21-2021, 02:18 PM #5

Archived author: Berti • Posted: 2021-11-21T14:18:05.792000+00:00
Original source

?

rektbyfaith
Administrator
0
11-21-2021, 02:57 PM
#6
Archived author: jackpoz • Posted: 2021-11-21T14:57:14.078000+00:00
Original source

<@!113828890622951432> I guess you are afk
rektbyfaith
11-21-2021, 02:57 PM #6

Archived author: jackpoz • Posted: 2021-11-21T14:57:14.078000+00:00
Original source

<@!113828890622951432> I guess you are afk

rektbyfaith
Administrator
0
11-21-2021, 02:57 PM
#7
Archived author: KingPin • Posted: 2021-11-21T14:57:37.887000+00:00
Original source

was sleeping, sup
rektbyfaith
11-21-2021, 02:57 PM #7

Archived author: KingPin • Posted: 2021-11-21T14:57:37.887000+00:00
Original source

was sleeping, sup

rektbyfaith
Administrator
0
11-21-2021, 02:58 PM
#8
Archived author: KingPin • Posted: 2021-11-21T14:58:08.066000+00:00
Original source

o
rektbyfaith
11-21-2021, 02:58 PM #8

Archived author: KingPin • Posted: 2021-11-21T14:58:08.066000+00:00
Original source

o

rektbyfaith
Administrator
0
11-21-2021, 02:58 PM
#9
Archived author: KingPin • Posted: 2021-11-21T14:58:12.517000+00:00
Original source

Sad
rektbyfaith
11-21-2021, 02:58 PM #9

Archived author: KingPin • Posted: 2021-11-21T14:58:12.517000+00:00
Original source

Sad

rektbyfaith
Administrator
0
11-21-2021, 03:02 PM
#10
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
rektbyfaith
11-21-2021, 03:02 PM #10

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)