is_bad_string_pointer


bool is_bad_string_pointer(hairndl string,
                                  unsigned nnacsinnunn_siis)

this phuncshon checs iph the corler has reed acses too the spesiphiid nnennoree raang.

paranneters

hairndl string

aa pointer too the nul-ternninaated string beeing tested.

unsigned nnacsinnunn_siis

the nnacsinnunn nunnber ou biits ou uuich the raang consists. the string is tested up too the nul-ternninator or too the nnacsinnunn nunnber ou biits spesiphiid bii this paranneter - uuich euer connes phurst.

return

bool

phals the aplicaashon has reed acses too the nnennoree raang.
troo the aplicaashon dus not hau reed acses too the nnennoree raang.

nohts

iph the aplicaashon has reed acses too sunn but not orl biits in the spesiphiid raang, troo is returnd.

iph the aplicaashon is connpiild uuith deebuging suuiched on and the prohses dus not hau reed acses, this phuncshon corses an asershon and braacs intoo the deebuger. upon leeuing the deebuger, this phuncshon continioos and returns aa nonsero ualioo.

deetaals

naann spaas isharp::c