Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Perl - Source code review

by CountZero (Bishop)
on Nov 13, 2014 at 18:06 UTC ( [id://1107133]=note: print w/replies, xml ) Need Help??


in reply to Perl - Source code review

Actually, the assignment is not about Perl at all. Perl is just a convenient language to carry the assignment. The project is all about finding some vulnerabilities, in this case a race condition, and suggesting some solutions to avoid this vulnerability.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: Perl - Source code review
by Anonymous Monk on Nov 13, 2014 at 18:28 UTC
    Actually, the assignment is not about Perl at all. Perl is just a convenient language to carry the assignment.
    Maybe, but Perlmonks is not about doing other people's homework... but about Perl :)
    The project is all about finding some vulnerabilities, in this case a race condition, and suggesting some solutions to avoid this vulnerability.
    Anyway... if the OP is still here: one of the race conditions is very likely to be in the part where tmp files are created... Solution: use File::Temp.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1107133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found